On Sat, 21 Oct 2006, Atom Powers wrote:

On 10/21/06, David Stanford <[EMAIL PROTECTED]> wrote:
I'm simply trying to set ACLs on a few directories but don't see an option to recursively apply this to the whole directory's contents. Does applying the ACL to a directory inherently apply it to all other files and folders within the directory? I've browsed the man page and handbook but can't find the info. Thanks.

Hmm, I don't see a recursive option either. You should be able to set ACL on files in a direcotry with `setfacl -m <blah> *`, and pipe that through 'find -type:d` and xargs to do an entire directory tree.

Patches to add a recursive option to setfacl would be most appreciated. If you (or someone else reading this) does work on it, make sure to implement the
standard set of recursion variations (symlinks, etc).


Robert N M Watson
Computer Laboratory
University of Cambridge
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to