Skip to content

Commit dbee0df

Browse files
committed
Fix setting permission for var subdirectories
1 parent 4924513 commit dbee0df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: book/installation.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@ If there are any issues, correct them now before moving on.
252252
$ rm -rf var/cache/* var/logs/* var/sessions/*
253253
254254
$ HTTPDUSER=`ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1`
255-
$ sudo chmod +a "$HTTPDUSER allow delete,write,append,file_inherit,directory_inherit" var
256-
$ sudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" var
255+
$ sudo chmod -R +a "$HTTPDUSER allow delete,write,append,file_inherit,directory_inherit" var
256+
$ sudo chmod -R +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" var
257257
258258
259259
**3. Using ACL on a system that does not support chmod +a**

0 commit comments

Comments
 (0)