[Acl-Devel] Exclude some directories with getfacl -R /

Chris de Vidal chris at devidal.tv
Mon Jul 31 15:59:42 CEST 2006


--- Michael Tokarev <mjt at tls.msk.ru> wrote:
> Ie, how about doing it the Unix Way (tm), where there are
> a collection of tools each does a small task but does it
> well.

Because that would make too much sense ;-)

That had ocurred to me after I clicked Send, but I didn't follow it up because I wanted to know if
perhaps there were some getfacl flag I was missing.

Something like this should actually serve my purposes quite nicely:
for DIRECTORY in /*
    do
    getfacl -R $DIRECTORY > permissions.dump
    done


Thanks!

CD

Are you good enough?
TenThousandDollarOffer.com


More information about the acl-devel mailing list