Smarter ACL
DrVince
drvince at anonymnet.net
Tue Jun 29 17:47:21 PDT 2004
Hi,
is there a way to make ACL smarter about mkdir?
When I set the default on a directory, it works fine and the files in it gets
the right perms. But the subdirectories doesn't get their execution perms. So
those dirs are unusable.
My standard commands for user's web roots (Apache running under www:www):
setfacl -d -m u::rw-,g::r--,o::---,g:www:r--,g:staff:r--,g:wheel:rw- www/
setfacl -m u::rwx,g::r-x,o::---,g:www:r-x,g:staff:r-x,g:wheel:rwx www/
setfacl -m u::rw-,g::r--,o::---,g:www:r--,g:staff:r--,g:wheel:rw- www/*
setfacl -m u::rw-,g::r--,o::---,g:www:r--,g:staff:r--,g:wheel:rw- www/.ht*
DrVince
More information about the freebsd-questions
mailing list