[OpenAFS] recursive fs setacl

Russ Allbery rra@stanford.edu
Tue, 05 Nov 2002 12:46:58 -0800


Renato Arruda <rla9216@rit.edu> writes:

> I am just curious, but looking at the current AFS documentation, it
> seems like there is no recursive 'fs setacl' command. Is that true? 
> Would the best way to do this to write a shell script to wrap around fs
> to be able to set change the acls in the entire directory tree inside a
> directory?

We have such a Perl script that we've been using here at Stanford for
quite some time.  I keep meaning to clean it up for more general
distribution, but if you'd like a copy of it as is, just let me know and
I'll send you a copy.

It's smart enough to not cross mount points, but optionally can cross
mount points if you ask it to.

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