Smarter ACL
From: DrVince (drvince_at_anonymnet.net)
Date: 06/30/04
- Previous message: epilogue_at_allstream.net: "Re: WinKey doesn't work in X.org? (was Re: Guide to x.org update?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "freebsd-questions" <freebsd-questions@freebsd.org> Date: Tue, 29 Jun 2004 19:47:36 -0500
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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: epilogue_at_allstream.net: "Re: WinKey doesn't work in X.org? (was Re: Guide to x.org update?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]