Merge lp:~evarlast/serverguide/explain-perms-httpd into lp:serverguide/trunk

Proposed by Jay R. Wren
Status: Merged
Approved by: Doug Smythies
Approved revision: 250
Merged at revision: 250
Proposed branch: lp:~evarlast/serverguide/explain-perms-httpd
Merge into: lp:serverguide/trunk
Diff against target: 17 lines (+7/-0)
1 file modified
serverguide/C/web-servers.xml (+7/-0)
To merge this branch: bzr merge lp:~evarlast/serverguide/explain-perms-httpd
Reviewer Review Type Date Requested Status
Doug Smythies Approve
Review via email: mp+258326@code.launchpad.net

Description of the change

Explain the permissions in the find and chmod commands at the end of the apache web server section.

To post a comment you must log in.
Revision history for this message
Doug Smythies (dsmythies) wrote :

O.K. Thanks.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'serverguide/C/web-servers.xml'
2--- serverguide/C/web-servers.xml 2014-12-29 16:41:34 +0000
3+++ serverguide/C/web-servers.xml 2015-05-06 00:08:48 +0000
4@@ -640,6 +640,13 @@
5 <command>sudo find /var/www/html -type d -exec chmod g=rwxs "{}" \;</command>
6 <command>sudo find /var/www/html -type f -exec chmod g=rws "{}" \;</command>
7 </screen>
8+<para>
9+ These commands recursively set the group permission on all files and
10+ directories in /var/www/html to read write and set user id. This has the
11+ effect of having the files and directories inherit their group and permission
12+ from their parrent. Many admins find this useful for allowing multiple users
13+ to edit files in a directory tree.
14+</para>
15
16 <note>
17 <para>

Subscribers

People subscribed via source and target branches