Commit fecbe897 authored by Nico Schottelius's avatar Nico Schottelius

remove another unecessary permissions script

Signed-off-by: default avatarNico Schottelius <nico@ikn.schottelius.org>
parent 6d29b36e
#!/bin/sh
dir="${HOME}/privat/freunde/"
file="mobile.nummer"
file="mobile?nummer"
cat "${dir}/$1/${file}"
cat "${dir}/$1/"${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"
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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment