Skip to content

More precision about the log directory permissions #10908

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 22, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions setup/file_permissions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ was writable. But that is no longer true! In Symfony 4, everything works automat
is ``0``), as long as you run ``php bin/console cache:warmup``, no cache files
will need to be written to disk at runtime.

.. note::

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 -R 777 var/log/``.
Be aware that your logs are readable by any user on your production system.
* In all environments, the log directory (``var/log/`` by default) must exist
and be writable by your web server user and terminal user. One way this can
be done is by using ``chmod -R 777 var/log/``. Be aware that your logs are
readable by any user on your production system.