Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Oct 2006 23:52:18 -0400
From:      "David Stanford" <dthomas53@gmail.com>
To:        "Atom Powers" <atom.powers@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: setfacl(1) Recursively?
Message-ID:  <f2c91f770610212052y4b851222k145ac7aaa1ff0ed6@mail.gmail.com>
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
>
> 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 .`

Thanks.

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



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