From 80951e523b6bba756d4a15663f990b1276aa02ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carsten=20Bl=C3=BCm?= Date: Sun, 14 Jan 2018 17:17:12 +0100 Subject: [PATCH] Change order of arguments/option to chmod MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit “chmod 777 -R” does not work on macOS (probably also not on BSD), while “chmod -R 777” does. --- setup/file_permissions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/file_permissions.rst b/setup/file_permissions.rst index 4f68d91a730..5c8593313a5 100644 --- a/setup/file_permissions.rst +++ b/setup/file_permissions.rst @@ -15,5 +15,5 @@ was writable. But that is no longer true! In Symfony 4, everything works automat If you decide to store log files on disk, you *will* need to make sure your logs directory (e.g. ``var/log/``) is writable by your web server user and - terminal user. One way this can be done is by using ``chmod 777 -R var/log/``. + terminal user. One way this can be done is by using ``chmod -R 777 var/log/``. Just be aware that your logs are readable by any user on your production system.