X-Git-Url: http://git.hcoop.net/clinton/scripts.git/blobdiff_plain/739364a225702073f38fb5739089db702dace4d9..3d7737ab8c102d606426c9056cd1eeac8ac6805d:/create-user?ds=sidebyside diff --git a/create-user b/create-user index 15ce41a..9a9276a 100755 --- a/create-user +++ b/create-user @@ -195,6 +195,7 @@ chown $USER:nogroup $HOMEPATH/.public/.domtool test -e $HOMEPATH/.domtool || \ test -L $HOMEPATH/.domtool || \ ln -s $HOMEPATH/.public/.domtool $HOMEPATH/.domtool +test -e $HOMEPATH/.domtool && chown $USER:nogroup $HOMEPATH/.domtool # Gitweb hosting test -L /var/cache/git/$USER || \ @@ -219,6 +220,7 @@ if test ! -e $MAILPATH/new; then -e -a "From: postmaster@hcoop.net" \ real-$USER fi +chown $USER:nogroup $MAILPATH/cur $MAILPATH/new $MAILPATH/tmp # Set up shared SpamAssassin folder if test -f $HOMEPATH/Maildir/shared-maildirs; then