aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/file_perm.sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>2000-04-17 14:27:02 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>2000-04-17 14:27:02 +0000
commita67709643cb97efa7e9877d931757f8740497a79 (patch)
tree8a8d8a108e3b7aa3fd6c01348a169a8c741252ce /init-sh/file_perm.sh
parentd6ab177786964fc4f6f1f7f4d04d40aa5188e3e9 (diff)
downloadmsec-a67709643cb97efa7e9877d931757f8740497a79.tar
msec-a67709643cb97efa7e9877d931757f8740497a79.tar.gz
msec-a67709643cb97efa7e9877d931757f8740497a79.tar.bz2
msec-a67709643cb97efa7e9877d931757f8740497a79.tar.xz
msec-a67709643cb97efa7e9877d931757f8740497a79.zip
*** empty log message ***
Diffstat (limited to 'init-sh/file_perm.sh')
-rwxr-xr-xinit-sh/file_perm.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/init-sh/file_perm.sh b/init-sh/file_perm.sh
index f99ef97..f69b222 100755
--- a/init-sh/file_perm.sh
+++ b/init-sh/file_perm.sh
@@ -9,9 +9,9 @@ echo -n "Setting files permissions : "
grep -v "^#" $1 | while read file owner perm; do
if [[ ${owner} != current ]]; then
- chown ${owner} ${file}
+ chown ${owner} ${file} >& /dev/null
fi
- chmod ${perm} ${file}
+ chmod ${perm} ${file} >& /dev/null
done
echo "done."