Skip to content

Commit 80951e5

Browse files
authored
Change order of arguments/option to chmod
“chmod 777 -R” does not work on macOS (probably also not on BSD), while “chmod -R 777” does.
1 parent a223c94 commit 80951e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup/file_permissions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ was writable. But that is no longer true! In Symfony 4, everything works automat
1515

1616
If you decide to store log files on disk, you *will* need to make sure your
1717
logs directory (e.g. ``var/log/``) is writable by your web server user and
18-
terminal user. One way this can be done is by using ``chmod 777 -R var/log/``.
18+
terminal user. One way this can be done is by using ``chmod -R 777 var/log/``.
1919
Just be aware that your logs are readable by any user on your production system.

0 commit comments

Comments
 (0)