User Tools

Site Tools


blog:set_rights_of_files_in_public_html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
blog:set_rights_of_files_in_public_html [2011-03-11 07:52] brbblog:set_rights_of_files_in_public_html [2011-03-11 07:52] brb
Line 2: Line 2:
  
 Set rights of user /home/*/public_html directors in a secure and useful way Set rights of user /home/*/public_html directors in a secure and useful way
-- all files/directories get chown user:www-data, so users own them and the webserver has group access +  - all files/directories get chown user:www-data, so users own them and the webserver has group access 
-- group www-data is added g+r for files (webserver can read all files) g+rsx for directories (webserver can read and change into all directories) +  - group www-data is added g+r for files (webserver can read all files) g+rsx for directories (webserver can read and change into all directories) 
-- o-rights (for all) are completely removed, so shell users can't read files of other users (possibly containing passwords etc).+  - o-rights (for all) are completely removed, so shell users can't read files of other users (possibly containing passwords etc).
  
  
blog/set_rights_of_files_in_public_html.txt · Last modified: 2011-03-11 07:57 by brb