cd to directory and run the following command.

find . -type d -exec  fs sa {}  userid none \;

This will traverse the entire tree below that directory and set the acls.
It will not follow symbolic links.


Cydna Ferry
IBM Global Services                [EMAIL PROTECTED]
Distributed Computing Services   6-1250 (tie 446)
D54/967-1                                     fax: (802) 769-4253 (tie 446)


                                                                                       
                                
                    iddwb                                                              
                                
                    <[EMAIL PROTECTED]        To:     [EMAIL PROTECTED]             
                                
                    du>                      cc:                                       
                                
                    Sent by:                         From:                             
                                
                    owner-info-afs@tr                Subject:  helpfull script to 
improve fs setacl                    
                    ansarc.com                                                         
                                
                                                                                       
                                
                                                                                       
                                
                    10/10/00 09:13 PM                                                  
                                
                                                                                       
                                
                                                                                       
                                





I would like to set an acl on all directories below the current dir.  I've
tried

fs setacl -dir */* -acl userid none

and it doesn't work.  I've also tried just using

fs setacl -dir * -acl userid none

to set the acl for all directories of the current directory.  This fails
also.  I'm beginning to beleive that the fs command is really crippled
from the command line.

So I'm hoping that someon has written a script wrapper to help fs descend
into all subdirectories of the current.

Any advice?

David Bear
College of Public Programs/ASU




Reply via email to