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:54] brb
Line 6: Line 6:
   - 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).
  
 +You can run the script using ''sudo fixphrights.sh'' or add a cron-job to go over all public_html directories every hour or so. 
 +
 +Note: Users should be informed what happens, because a lot have taken the bad habit of doing chmod 755 to everything, and they will be confused if their files go back to 750 every hour.
  
 <code bash> <code bash>
blog/set_rights_of_files_in_public_html.txt · Last modified: 2011-03-11 07:57 by brb