no longer need system:anyuser=l on Maildirs
[clinton/scripts.git] / create-user
index 177ad76..7cc369b 100755 (executable)
@@ -175,7 +175,6 @@ mkdir -p `dirname $MAILPATH`
 fs ls $MAILPATH || fs mkm $MAILPATH         mail.$USER
 fs ls $HOMEPATH/Maildir || fs mkm $HOMEPATH/Maildir mail.$USER
 fs sa $MAILPATH $USER            all
-fs sa $MAILPATH system:anyuser   l
 fs sa $MAILPATH $USER.mailfilter all
 
 # DATABASE VOLUME
@@ -223,4 +222,10 @@ vos syncvldb deleuze
 fs checkvolumes
 ssh mire.hcoop.net fs checkvolumes
 
-
+# Technically this is not idempotent.  This is not *too* bad because
+# of the fact that in AFS non-system:administrators users can't change
+# the group/owner of a file anyways.  However, users still might want
+# to know which other users created certain files (in, say, a dropbox
+# or something like that).  FIMXE.
+chown -R $USER:nogroup $HOMEPATH
+chown -R $USER:nogroup $MAILPATH