source:
CMT/v1r16p20040901/mgr/afs_set_acls.sh
@
1
Last change on this file since 1 was 1, checked in by , 19 years ago | |
---|---|
File size: 251 bytes |
Rev | Line | |
---|---|---|
[1] | 1 | #!/bin/sh |
2 | ||
3 | if test "$#" = 0; then | |
4 | echo "> afs_set_acls.sh <directory> <group id> <access rights>" | |
5 | exit 0 | |
6 | fi | |
7 | ||
8 | where=$1 | |
9 | shift | |
10 | acl=$* | |
11 | ||
12 | for file in `find ${where} -type d -print` | |
13 | do | |
14 | echo ${file} | |
15 | fs sa -dir ${file} -acl ${acl} | |
16 | done |
Note: See TracBrowser
for help on using the repository browser.