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
=== modified file 'serverguide/C/web-servers.xml'
--- serverguide/C/web-servers.xml 2014-12-29 16:41:34 +0000
+++ serverguide/C/web-servers.xml 2015-05-06 00:08:48 +0000
@@ -640,6 +640,13 @@
640<command>sudo find /var/www/html -type d -exec chmod g=rwxs "{}" \;</command>640<command>sudo find /var/www/html -type d -exec chmod g=rwxs "{}" \;</command>
641<command>sudo find /var/www/html -type f -exec chmod g=rws "{}" \;</command>641<command>sudo find /var/www/html -type f -exec chmod g=rws "{}" \;</command>
642</screen>642</screen>
643<para>
644 These commands recursively set the group permission on all files and
645 directories in /var/www/html to read write and set user id. This has the
646 effect of having the files and directories inherit their group and permission
647 from their parrent. Many admins find this useful for allowing multiple users
648 to edit files in a directory tree.
649</para>
643650
644 <note>651 <note>
645 <para>652 <para>

Subscribers

People subscribed via source and target branches