@@ -8,7 +8,7 @@ On Linux and macOS systems, if your web server user is different from your
8
8
command line user, you need to configure permissions properly to avoid issues.
9
9
There are several ways to achieve that:
10
10
11
- 1. Use the same user for the CLI and the web server
11
+ 1. Use the same User for the CLI and the Web Server
12
12
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13
13
14
14
Edit your web server configuration (commonly ``httpd.conf `` or ``apache2.conf ``
@@ -22,7 +22,7 @@ update the ``User`` and ``Group`` directives).
22
22
unsafe binaries, etc.) as a compromised server would give to the hacker
23
23
those privileges.
24
24
25
- 2. Using ACL on a system that supports ``chmod +a `` (macOS)
25
+ 2. Using ACL on a System that Supports ``chmod +a `` (macOS)
26
26
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27
27
28
28
On macOS systems, the ``chmod `` command supports the ``+a `` flag to define an
@@ -38,7 +38,7 @@ needed permissions:
38
38
$ sudo chmod +a " $HTTPDUSER allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
39
39
$ sudo chmod +a " ` whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
40
40
41
- 3. Using ACL on a system that supports ``setfacl `` (Linux/BSD)
41
+ 3. Using ACL on a System that Supports ``setfacl `` (Linux/BSD)
42
42
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
43
43
44
44
Most Linux and BSD distributions don't support ``chmod +a ``, but do support
@@ -58,7 +58,7 @@ following script to determine your web server user and grant the needed permissi
58
58
setfacl isn't available on NFS mount points. However, storing cache and logs
59
59
over NFS is strongly discouraged for performance reasons.
60
60
61
- 4. Without using ACL
61
+ 4. Without Using ACL
62
62
~~~~~~~~~~~~~~~~~~~~
63
63
64
64
If none of the previous methods work for you, change the umask so that the
@@ -78,4 +78,4 @@ To achieve this, put the following line at the beginning of the ``app/console``,
78
78
Changing the umask is not thread-safe, so the ACL methods are recommended
79
79
when they are available.
80
80
81
- .. _`enable ACL support` : https://help.ubuntu.com/community/FilePermissionsACLs
81
+ .. _`enable ACL support` : https://help.ubuntu.com/community/FilePermissionsACLs
0 commit comments