setfacl(1) Recursively?

David Stanford dthomas53 at
Sun Oct 22 03:52:21 UTC 2006

> 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.

I got it with this on my server for /etc:

# cd /etc
# setfacl -m u:rsync_ssh:r,g:rsync_ssh:r `find .`


[root at fbsd ~]# fortune
Happiness is just an illusion, filled with sadness and confusion.

More information about the freebsd-questions mailing list