setfacl(1) Recursively?

Atom Powers atom.powers at gmail.com
Sun Oct 22 03:13:42 UTC 2006


On 10/21/06, David Stanford <dthomas53 at gmail.com> 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.

-- 
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--


More information about the freebsd-questions mailing list