source: CMT/v1r18p20061003/mgr/afs_set_acls.sh

Last change on this file 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
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.