From aef8ad0cde3310140077732f4bc710cb3f96713d Mon Sep 17 00:00:00 2001
From: alvaro <alvaro@alia.(none)>
Date: Sun, 28 Oct 2012 18:36:44 -0700
Subject: [PATCH] Better permissions suggestion on instllation

---
 install.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/install.sh b/install.sh
index aeaf19d9..130698b3 100755
--- a/install.sh
+++ b/install.sh
@@ -136,9 +136,9 @@ echo
 echo
 echo "Common ways of doing this:"
 if [ "$wwwUser" != "" ]; then
-  echo " ${bold}sudo chown -R $wwwUser $home/cache $home/meta${normal}"
+  echo " ${bold}chmod -R g+w $home/cache $home/meta${normal}; sudo chgrp -R $wwwUser $home/cache $home/meta${normal}"
   echo "OR"
-  echo " ${bold}sudo chmod -R 777 $home/cache $home/meta${normal} (highly discouraged but useful to test when everything fails. It shouldn't be used in production sites)"
+  echo " ${bold}chmod -R 777 $home/cache $home/meta${normal} (highly discouraged but useful to test when everything fails. It shouldn't be used in production sites)"
 else
   echo " ${bold}chown -R www-apache $home/cache $home/meta${normal} (find the name of the apache user in your system)"
   echo " ${bold}chown -R apache $home/cache $home/meta${normal} (find the name of the apache user in your system)"
-- 
GitLab