Merge pull request #4836 from Angristan/patch-1
authorHypolite Petovan <mrpetovan@gmail.com>
Fri, 22 Jun 2018 20:09:01 +0000 (16:09 -0400)
committerGitHub <noreply@github.com>
Fri, 22 Jun 2018 20:09:01 +0000 (16:09 -0400)
chmod 777 is a bad practice

1  2 
doc/Install.md

diff --cc doc/Install.md
@@@ -49,12 -48,13 +49,13 @@@ The Linux commands to clone the reposit
  
      git clone https://github.com/friendica/friendica.git mywebsite
      cd mywebsite
 -    util/composer.phar install
 +    bin/composer.phar install
  
- Make sure the folder *view/smarty3* exists and is writable by the webserver user
+ Make sure the folder *view/smarty3* exists and is writable by the webserver user, in this case `www-data`
  
      mkdir view/smarty3
-     chmod 777 view/smarty3
+     chown www-data:www-data view/smarty3
+     chmod 775 view/smarty3
  
  Get the addons by going into your website folder.