From de99189325cd56e0e40c656c4b288387ff7cdbba Mon Sep 17 00:00:00 2001 From: Angristan Date: Fri, 13 Apr 2018 20:54:02 +0200 Subject: [PATCH 1/3] chmod 777 is a bad practice --- doc/Install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Install.md b/doc/Install.md index 5ea1920523..1fa1e910ae 100644 --- a/doc/Install.md +++ b/doc/Install.md @@ -53,7 +53,7 @@ The Linux commands to clone the repository into a directory "mywebsite" would be Make sure the folder *view/smarty3* exists and is writable by the webserver user mkdir view/smarty3 - chmod 777 view/smarty3 + chmod www-data:www-data view/smarty3 Get the addons by going into your website folder. From 3ccd64ad9f59c1e70d1d542bb602045bb3202031 Mon Sep 17 00:00:00 2001 From: Angristan <11699655+Angristan@users.noreply.github.com> Date: Fri, 22 Jun 2018 21:56:56 +0200 Subject: [PATCH 2/3] Fix chmod and chown, add note about webserver user --- doc/Install.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/Install.md b/doc/Install.md index 1fa1e910ae..94987f463e 100644 --- a/doc/Install.md +++ b/doc/Install.md @@ -50,10 +50,11 @@ The Linux commands to clone the repository into a directory "mywebsite" would be cd mywebsite util/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 www-data:www-data view/smarty3 + chown www-data:www-data view/smarty3 + chmod 775 view/smarty3 Get the addons by going into your website folder. From 7326394f29e25bb78b4e594905aae95a65b8e0e6 Mon Sep 17 00:00:00 2001 From: Angristan <11699655+Angristan@users.noreply.github.com> Date: Fri, 22 Jun 2018 22:00:31 +0200 Subject: [PATCH 3/3] Fix indentation --- doc/Install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Install.md b/doc/Install.md index 94987f463e..43374a33aa 100644 --- a/doc/Install.md +++ b/doc/Install.md @@ -54,7 +54,7 @@ Make sure the folder *view/smarty3* exists and is writable by the webserver user mkdir view/smarty3 chown www-data:www-data view/smarty3 - chmod 775 view/smarty3 + chmod 775 view/smarty3 Get the addons by going into your website folder.