aboutsummaryrefslogtreecommitdiffstats
path: root/modules/planet
diff options
context:
space:
mode:
authorDamien Lallement <dams@mageia.org>2011-02-17 14:36:21 +0000
committerDamien Lallement <dams@mageia.org>2011-02-17 14:36:21 +0000
commit75464422d78799175e1f9a2698510f6e1b5ed759 (patch)
tree1c248a42abda5e690b34993ae7377cfc801af503 /modules/planet
parent8966797cba3c0081a64ba2885ee2014411e134d4 (diff)
downloadpuppet-75464422d78799175e1f9a2698510f6e1b5ed759.tar
puppet-75464422d78799175e1f9a2698510f6e1b5ed759.tar.gz
puppet-75464422d78799175e1f9a2698510f6e1b5ed759.tar.bz2
puppet-75464422d78799175e1f9a2698510f6e1b5ed759.tar.xz
puppet-75464422d78799175e1f9a2698510f6e1b5ed759.zip
change rights for files on moonmoon
Diffstat (limited to 'modules/planet')
-rwxr-xr-xmodules/planet/templates/deploy_new-planet.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/planet/templates/deploy_new-planet.sh b/modules/planet/templates/deploy_new-planet.sh
index 27029fb2..cc60f46a 100755
--- a/modules/planet/templates/deploy_new-planet.sh
+++ b/modules/planet/templates/deploy_new-planet.sh
@@ -29,6 +29,9 @@ then
exit 2
fi
/bin/tar zxvf $PATH_TO_FILE/moonmoon.tar.gz -C $FILE
+ /bin/chmod g+w $FILEcustom $FILEcustom/people.opml $FILEadmin/inc/pwd.inc.php
+ /bin/mkdir $FILEcache
+ /bin/chown g+w $FILEcache
fi
else
echo "Aborted, please try again."