diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-05-01 15:36:26 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-05-01 15:36:26 +0000 |
commit | 3062b22a91f5b3e19cc3988c6cc2eeeb1c77af3d (patch) | |
tree | ea4cc88db0d8dfa2e0cdc284da0bd1bd3110ac00 /trunk/src | |
parent | 3932099b2fc9e4eaeed87e98eedc30757ca6177e (diff) | |
download | simplepkg-3062b22a91f5b3e19cc3988c6cc2eeeb1c77af3d.tar.gz simplepkg-3062b22a91f5b3e19cc3988c6cc2eeeb1c77af3d.tar.bz2 |
small changes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@365 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-rwxr-xr-x | trunk/src/jail-commit | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit index f2695d7..f40e5cd 100755 --- a/trunk/src/jail-commit +++ b/trunk/src/jail-commit @@ -69,6 +69,11 @@ function template_merge { perms="`numeric_perm $1/$file`" owner="`get_owner $1/$file`" group="`get_group $1/$file`" + + # secure the file + chown root.root $TEMPLATE_BASE.d/$file + chmod $perms $TEMPLATE_BASE.d/$file + echo "$file;$owner;$group;$perms" >> $TEMPLATE_BASE.perms.tmp else |