Skip to content

Commit 2facf4a

Browse files
committed
[book][installation] Using the whoami trick
1 parent a00fdb5 commit 2facf4a

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
@@ -110,7 +110,7 @@ If there are any issues, correct them now before moving on.
110110
a UNIX system, if your web server user is different from your command
111111
line user, you can run the following commands just once in your project
112112
to ensure that permissions will be setup properly. Change ``www-data``
113-
to the web server user and ``yourname`` to your command line user:
113+
to your web server user:
114114

115115
**1. Using ACL on a system that supports chmod +a**
116116

@@ -123,7 +123,7 @@ If there are any issues, correct them now before moving on.
123123
rm -rf app/logs/*
124124
125125
sudo chmod +a "www-data allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
126-
sudo chmod +a "yourname allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
126+
sudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
127127
128128
**2. Using Acl on a system that does not support chmod +a**
129129

0 commit comments

Comments
 (0)