[OpenAFS] setting/modifying acl's

Russ Allbery rra@stanford.edu
Mon, 07 Feb 2005 12:16:32 -0800


Ron Croonenberg <ronc@DePauw.edu> writes:

> 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

Other people have pointed you at the standard find command, but if you're
interested in something a little bit pre-packaged, you may be interested
in Stanford's fsr wrapper:

    <http://www.eyrie.org/~eagle/software/fsr/>

It's not markedly better than the find solution, but it understands how to
parse the fs command line to find the directories or files, and hence can
be provided to users as a replacement for fs with the same syntax, without
needing to understand the find syntax.  It also doesn't cross mount points
by default but can when given an additional option.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>