Date: Sun, 22 Oct 2006 13:27:08 +0100 (BST) From: Robert Watson <rwatson@FreeBSD.org> To: Atom Powers <atom.powers@gmail.com> Cc: David Stanford <dthomas53@gmail.com>, FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: setfacl(1) Recursively? Message-ID: <20061022132628.K60062@fledge.watson.org> In-Reply-To: <df9ac37c0610212013l3735d7e0s9696077894b33756@mail.gmail.com> References: <f2c91f770610211804i41b6a3cboaed3ec05bdf27d69@mail.gmail.com> <df9ac37c0610212013l3735d7e0s9696077894b33756@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 21 Oct 2006, Atom Powers wrote: > On 10/21/06, David Stanford <dthomas53@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. Patches to add a recursive option to setfacl would be most appreciated. If you (or someone else reading this) does work on it, make sure to implement the standard set of recursion variations (symlinks, etc). Thanks, Robert N M Watson Computer Laboratory University of Cambridge
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061022132628.K60062>