8000 [#2851] Minor tweaks to new trick to get the web server user · symfony/symfony-docs@bafeaaf · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bafeaaf

Browse files
committed
[#2851] Minor tweaks to new trick to get the web server user
1 parent 07d728d commit bafeaaf

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

book/installation.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@ If there are any issues, correct them now before moving on.
219219

220220
.. sidebar:: Setting up Permissions
221221

222-
223222
One common issue is that the ``app/cache`` and ``app/logs`` directories
224223
must be writable both by the web server and the command line user. On
225224
a UNIX system, if your web server user is different from your command
@@ -229,7 +228,8 @@ If there are any issues, correct them now before moving on.
229228
**1. Using ACL on a system that supports chmod +a**
230229

231230
Many systems allow you to use the ``chmod +a`` command. Try this first,
232-
and if you get an error - try the next method.
231+
and if you get an error - try the next method. This uses a command to
232+
try to determine your web server user and set is as ``APACHEUSER``:
233233

234234
.. code-block:: bash
235235
@@ -245,8 +245,9 @@ If there are any issues, correct them now before moving on.
245245

246246
Some systems don't support ``chmod +a``, but do support another utility
247247
called ``setfacl``. You may need to `enable ACL support`_ on your partition
248-
and install setfacl before using it (as is the case with Ubuntu), like
249-
so:
248+
and install setfacl before using it (as is the case with Ubuntu). This
249+
uses a command to try to determine your web server user and set is as
250+
``APACHEUSER``:
250251

251252
.. code-block:: bash
252253

0 commit comments

Comments
 (0)
0