diff options
author | Jonas Smedegaard <dr@jones.dk> | 2001-12-13 16:08:02 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2001-12-13 16:08:02 +0000 |
commit | 131f0dfbb8c6ff3f8dab46bad55fb2a33886edd9 (patch) | |
tree | 7f0a3b2ab78fe0eec9382f621585694a3353f301 /volinit-netatalk | |
parent | c81b7f986867db292d62a1757123723b5ef66518 (diff) |
Keep uid when resetting all files (nice to have to locate the responsible person for a file).
Diffstat (limited to 'volinit-netatalk')
-rwxr-xr-x | volinit-netatalk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/volinit-netatalk b/volinit-netatalk index a1e355a..cf995ac 100755 --- a/volinit-netatalk +++ b/volinit-netatalk @@ -57,7 +57,7 @@ echo "People in group $GRP has read/write access through AppleShare" test $GRP = $ALL || echo "People in group $ALL has read access through AppleShare" echo "Others have no access" echo -n "Checking permissions..." -chown -R $GRPUSER.$GRP $VOL/$ALL/$GRP \ +chown -R .$GRP $VOL/$ALL/$GRP \ && chmod -R u=rwX,g=rwXs,o=rX $VOL/$ALL/$GRP \ && chmod u=rwX,g=rXs,o=rX $VOL/$ALL/$GRP echo "." |