aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/file_perm.sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-01 15:51:15 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-01 15:51:15 +0000
commitb17e23b6201a9d0965662f8a4b2972ee2e570b9a (patch)
tree19f4d1013d6d12cc146049a5ef265dbcbb462672 /init-sh/file_perm.sh
parent043bb7a6cc19f3030075fd00c3cf0f108ec68e86 (diff)
downloadmsec-b17e23b6201a9d0965662f8a4b2972ee2e570b9a.tar
msec-b17e23b6201a9d0965662f8a4b2972ee2e570b9a.tar.gz
msec-b17e23b6201a9d0965662f8a4b2972ee2e570b9a.tar.bz2
msec-b17e23b6201a9d0965662f8a4b2972ee2e570b9a.tar.xz
msec-b17e23b6201a9d0965662f8a4b2972ee2e570b9a.zip
Ok now add the user list to audio group ( level 1 & 2 ).
lib.sh delete user list from audio group
Diffstat (limited to 'init-sh/file_perm.sh')
-rwxr-xr-xinit-sh/file_perm.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/init-sh/file_perm.sh b/init-sh/file_perm.sh
index 9f76791..be834b7 100755
--- a/init-sh/file_perm.sh
+++ b/init-sh/file_perm.sh
@@ -3,6 +3,8 @@
IFS="
"
+echo -n "Setting files permissions : "
+
for line in `cat /$1`; do
file=`echo ${line} | awk '{print $1}'`
owner=`echo ${line} | awk '{print $2}'`
@@ -15,5 +17,7 @@ for line in `cat /$1`; do
chmod ${perm} ${file}
fi
done
+
+echo "done."