remove another unecessary permissions script
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
6d29b36ede
commit
fecbe89783
2 changed files with 2 additions and 21 deletions
4
mp
4
mp
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
dir="${HOME}/privat/freunde/"
|
dir="${HOME}/privat/freunde/"
|
||||||
file="mobile.nummer"
|
file="mobile?nummer"
|
||||||
|
|
||||||
cat "${dir}/$1/${file}"
|
cat "${dir}/$1/"${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
|
|
Loading…
Reference in a new issue