Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2004 19:47:36 -0500
From:      "DrVince" <drvince@anonymnet.net>
To:        "freebsd-questions" <freebsd-questions@freebsd.org>
Subject:   Smarter ACL
Message-ID:  <20040630003738.M60971@anonymnet.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040630003738.M60971>