aboutsummaryrefslogtreecommitdiffstats
path: root/modules/planet/templates
diff options
context:
space:
mode:
authorDamien Lallement <dams@mageia.org>2011-02-17 14:48:11 +0000
committerDamien Lallement <dams@mageia.org>2011-02-17 14:48:11 +0000
commit176af71e8f719a22040f78e01156a07f5cb9fcb1 (patch)
treeec46af251cadfd81f5f13255fdf28059e55e6d64 /modules/planet/templates
parent06b520877c5c69b5f8a39c834cce7f7cd2fad257 (diff)
downloadpuppet-176af71e8f719a22040f78e01156a07f5cb9fcb1.tar
puppet-176af71e8f719a22040f78e01156a07f5cb9fcb1.tar.gz
puppet-176af71e8f719a22040f78e01156a07f5cb9fcb1.tar.bz2
puppet-176af71e8f719a22040f78e01156a07f5cb9fcb1.tar.xz
puppet-176af71e8f719a22040f78e01156a07f5cb9fcb1.zip
change user/group on whole directory
Diffstat (limited to 'modules/planet/templates')
-rwxr-xr-xmodules/planet/templates/deploy_new-planet.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/planet/templates/deploy_new-planet.sh b/modules/planet/templates/deploy_new-planet.sh
index 28a6fba7..b725407f 100755
--- a/modules/planet/templates/deploy_new-planet.sh
+++ b/modules/planet/templates/deploy_new-planet.sh
@@ -29,9 +29,9 @@ then
exit 2
fi
/bin/tar zxvf $PATH_TO_FILE/moonmoon.tar.gz -C $FILE
- /bin/chmod g+w $FILE"custom" $FILE"custom/people.opml" $FILE"admin/inc/pwd.inc.php"
/bin/mkdir $FILE"cache"
- /bin/chmod g+w $FILE"cache"
+ /bin/chown -R planet:apache $FILE
+ #/bin/chmod g+w $FILE"custom" $FILE"custom/people.opml" $FILE"admin/inc/pwd.inc.php" $FILE"cache"
fi
else
echo "Aborted, please try again."