HCoop
/
hcoop
/
zz_old
/
misc
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
739364a
)
create-user: Own .domtool symlink, and own Maildir/(cur,new,tmp)
author
mwolson_admin
<mwolson_admin@deleuze.hcoop.net>
Sun, 9 Dec 2007 01:01:37 +0000
(20:01 -0500)
committer
mwolson_admin
<mwolson_admin@deleuze.hcoop.net>
Sun, 9 Dec 2007 01:01:37 +0000
(20:01 -0500)
create-user
patch
|
blob
|
blame
|
history
diff --git
a/create-user
b/create-user
index
15ce41a
..
9a9276a
100755
(executable)
--- 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