remove another unecessary permissions script

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2010-01-02 13:52:46 +01:00
parent 6d29b36ede
commit fecbe89783
2 changed files with 2 additions and 21 deletions

4
mp
View File

@ -1,5 +1,5 @@
#!/bin/sh
dir="${HOME}/privat/freunde/"
file="mobile.nummer"
file="mobile?nummer"
cat "${dir}/$1/${file}"
cat "${dir}/$1/"${file}

View File

@ -1,19 +0,0 @@
#!/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"
chmod u=rwx,g=rx,o-rwx $1
elif [ -x "$1" ];then
echo "exe: $1"
chmod u+rw,g+rx,o-rwx $1
else
echo "file: $1"
chmod u+rw,g+r,o-rwx $1
fi