From 176af71e8f719a22040f78e01156a07f5cb9fcb1 Mon Sep 17 00:00:00 2001 From: Damien Lallement Date: Thu, 17 Feb 2011 14:48:11 +0000 Subject: change user/group on whole directory --- modules/planet/templates/deploy_new-planet.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/planet') 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." -- cgit v1.2.1