Skip to content

Commit a2cb06a

Browse files
committed
More precision about the log directory permissions
1 parent 0be1038 commit a2cb06a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

setup/file_permissions.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ was writable. But that is no longer true! In Symfony 4, everything works automat
1111
is ``0``), as long as you run ``php bin/console cache:warmup``, no cache files
1212
will need to be written to disk at runtime.
1313

14-
.. note::
15-
16-
If you decide to store log files on disk, you *will* need to make sure your
17-
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 -R 777 var/log/``.
19-
Be aware that your logs are readable by any user on your production system.
14+
* In all environments, the log directory (``var/log/`` by default) must exist
15+
and be writable by your web server user and terminal user. One way this can
16+
be done is by using ``chmod -R 777 var/log/``. Be aware that your logs are
17+
readable by any user on your production system.

0 commit comments

Comments
 (0)