[OpenAFS] setting/modifying acl's
Stephen Brown
sbrown7@umbc.edu
Mon, 7 Feb 2005 10:10:11 -0500 (EST)
On Mon, 7 Feb 2005, Ron Croonenberg wrote:
> With "fs setacl" the acl can be set for a directory, is there a way to do it
> recursively ? (so that the acl is changed for all sub directories too ?)
>
> I looked in the docs under "fs setacl" but did see a switch that does that
What I use is:
find <top_dir> -type d -exec fs sa \{\} <ACL statement> \;
Usually, for me that translates into making restores not world readable:
find <restored_dir> -type d -exec fs sa \{\} system:anyuser none \;
Steve Brown
sbrown7@umbc.edu