source: CMT/v1r18p20041201/mgr/afs_set_acls.sh @ 1

Last change on this file since 1 was 1, checked in by arnault, 19 years ago

Import all tags

File size: 251 bytes
Line 
1#!/bin/sh
2
3if test "$#" = 0; then
4  echo "> afs_set_acls.sh <directory> <group id> <access rights>"
5  exit 0
6fi
7
8where=$1
9shift
10acl=$*
11
12for file in `find ${where} -type d -print`
13do
14  echo ${file}
15  fs sa -dir ${file} -acl ${acl}
16done
Note: See TracBrowser for help on using the repository browser.