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

book/installation.rst

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy