diff options
author | Frederic Lepied <flepied@mandriva.com> | 2005-11-21 10:21:35 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2005-11-21 10:21:35 +0000 |
commit | a5b572c4a4e73bc0b369c20c9cdf7b2f5804b8ea (patch) | |
tree | c034eff966c53778d419a8a92a594a63f61c5650 /init-sh/file_perm.sh | |
parent | d54dc7df63f32c3353fef943c32e67c6958512af (diff) | |
download | msec-a5b572c4a4e73bc0b369c20c9cdf7b2f5804b8ea.tar msec-a5b572c4a4e73bc0b369c20c9cdf7b2f5804b8ea.tar.gz msec-a5b572c4a4e73bc0b369c20c9cdf7b2f5804b8ea.tar.bz2 msec-a5b572c4a4e73bc0b369c20c9cdf7b2f5804b8ea.tar.xz msec-a5b572c4a4e73bc0b369c20c9cdf7b2f5804b8ea.zip |
no longer needed (since the switch to python)
Diffstat (limited to 'init-sh/file_perm.sh')
-rwxr-xr-x | init-sh/file_perm.sh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/init-sh/file_perm.sh b/init-sh/file_perm.sh deleted file mode 100755 index f69b222..0000000 --- a/init-sh/file_perm.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -if [[ ! -s $1 ]]; then - echo "I need a msec permfile in argument". - exit 1 -fi - -echo -n "Setting files permissions : " - -grep -v "^#" $1 | while read file owner perm; do - if [[ ${owner} != current ]]; then - chown ${owner} ${file} >& /dev/null - fi - chmod ${perm} ${file} >& /dev/null -done - -echo "done." - |