diff options
author | Jonas Smedegaard <dr@jones.dk> | 2006-02-28 21:08:13 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2006-02-28 21:08:13 +0000 |
commit | 467c4a7c279f801c7bd93bd555b4f7502cd0dcdc (patch) | |
tree | 0ae29b87a7b1a00f4350e66a40fa7cbdf74464c3 /user-init | |
parent | 882060059dd7f9c6c19c32355e8527f9b797cc25 (diff) |
Extend ~public_html/ to any ~public_*/ .
Diffstat (limited to 'user-init')
-rwxr-xr-x | user-init | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -227,7 +227,7 @@ for user in $USERS; do fi # Public dir permissions - for dir in `cd "$HOME" && find . -mindepth 1 -maxdepth 1 -type d -regex '^\./public_html$'`; do + for dir in `cd "$HOME" && find . -mindepth 1 -maxdepth 1 -type d -regex '^\./public\(_.*\)?'`; do chown -R "$user": "$HOME/$dir" chmod -R u+rX,go=r,go+X "$HOME/$dir" if [ -n "$NETATALK" ]; then |