Last change
on this file since 683 was
12,
checked in by arnault, 19 years ago
|
Set executable property ont few scripts
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
|
File size:
235 bytes
|
Rev | Line | |
---|
[2] | 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.