newuser: dont try to create stuff on other, you can only do that on the fs console

This commit is contained in:
cinap_lenrek 2011-06-09 05:39:52 +00:00
parent df752e061e
commit c2b524d82f

View file

@ -11,11 +11,7 @@ x='$'
mkdir bin bin/rc bin/mips bin/386 bin/power bin/arm
mkdir lib tmp
chmod +t tmp
# try to create tmp space on other
mount -C /srv/cwfs /n/other other >/dev/null >[2=1] && \
mkdir -m 775 /n/other/usr/$user >/dev/null >[2=1] && \
mkdir -m 750 /n/other/usr/$user/tmp >/dev/null >[2=1] && \
bind -c /n/other/usr/$user/tmp $home/tmp
bind -qc /n/other/usr/$user/tmp $home/tmp
bind -c $home/tmp /tmp
mail -c