PDA

View Full Version : Setfacl remove syntax eludes me


MarmaladeMan
03-18-2007, 06:05 PM
I'm having trouble figuring out the command to remove an ACL entry.

/home/dev/marmalademan has the entry: default:user:phile:--- and I want to remove it. I see that -x is the flag to use, but I'm making a mistake somewhere and getting an invalid argument error.

Thanks for any help!

Matt
03-18-2007, 08:00 PM
From the setfacl manual (man -S5 setfacl):

Removing a named group entry from a file's ACL
setfacl -x g:staff file

MarmaladeMan
03-19-2007, 01:30 AM
Thanks Matt. Sorry about the simple error. I've been trying to learn as much as I can from outside resources so I don't have to bog the forum down with these kinds of questions but this one eluded me.

As a note, man -S5 setfacl didn't give me an entry ("No manual entry for setfacl").

Matt
03-19-2007, 01:36 AM
Oops, -S1 (section #1). man setfacl works too.