nsbin/files-x
Nico Schottelius d3c6e29902 Initial commit
2006-07-20 09:54:37 +02:00

15 lines
234 B
Bash
Executable file

#!/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