Skip to content

Commit a00fdb5

Browse files
garakweaverryan
authored andcommitted
a small suggestion to improve setafcl command
1 parent ab0dc71 commit a00fdb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ If there are any issues, correct them now before moving on.
134134

135135
.. code-block:: bash
136136
137-
sudo setfacl -R -m u:www-data:rwx -m u:yourname:rwx app/cache app/logs
138-
sudo setfacl -dR -m u:www-data:rwx -m u:yourname:rwx app/cache app/logs
137+
sudo setfacl -R -m u:www-data:rwx -m u:`whoami`:rwx app/cache app/logs
138+
sudo setfacl -dR -m u:www-data:rwx -m u:`whoami`:rwx app/cache app/logs
139139
140140
**3. Without using ACL**
141141

0 commit comments

Comments
 (0)