nsbin/files-x

16 lines
234 B
Plaintext
Raw Normal View History

2006-07-20 07:54:37 +00:00
#!/bin/sh
#file=`ls -l $1 | egrep '^d' | awk ' {print $9 }'`
#if [ -z file ]; then echo $1;fi
# echo gerade : $1
# file : $file
if [ -d "$1" ]
then
echo "dir : $1"
chown root.wheel $1 -R
chmod g+rx $1
chmod g+r $1 -R
fi