diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-11-08 14:10:19 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-11-08 14:10:19 +0000 |
commit | 3508e8ccd26c310a8c4671ac5a5a5fc0bada7686 (patch) | |
tree | e842d8504b4e1d6e95fa9569d5a290ab1429bdc6 /user-init | |
parent | 9dbd49b1bb3181c90bb23769bc44c5498f97d505 (diff) |
user-init: No need for others than owner and www-data to have access to webphpsites.
Diffstat (limited to 'user-init')
-rwxr-xr-x | user-init | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -240,11 +240,12 @@ for user in $USERS; do done for dir in `find $HOME -mindepth 1 -maxdepth 1 -type d | egrep "^$HOME/webphpsites"`; do chown root: $dir - chmod a=r,u+w,a+X $dir + chmod u=rw,go=r,a+X $dir done for dir in `find $HOME -mindepth 2 -maxdepth 2 -type d | egrep "^$HOME/webphpsites/"`; do chown -R $user:www-data $dir - chmod -R ug=rw,o=r,a+X $dir +# chmod -R ug=rw,o=r,a+X $dir + chmod -R ug=rw,o=,ug+X $dir done for dir in `find $HOME -mindepth 1 -maxdepth 1 -type d | egrep "^$HOME/webphpdata"`; do chown root: $dir |