jcs: Fix wrong ownership of $HOME/local directories

This commit is contained in:
Jan Lindemann 2003-07-31 12:08:40 +00:00 committed by Jan Lindemann
commit 325fe118d6

View file

@ -1540,8 +1540,8 @@ while read CMD ARG1 ARG2 ARG3 ARG4 ARG5 ARGN ; do
done
NEWGRPS=`echo $NEWGRPS | sed -e 's/^ *,//'`
useradd -u $ARG2 -d $ARG3 -g $ARG4 -G $NEWGRPS $ARG1
chown $ARG1 $ARG3 $ARG3/dat
chgrp $ARG4 $ARG3 $ARG3/dat
chown $ARG1 $ARG3 $ARG3/dat $ARG3/local
chgrp $ARG4 $ARG3 $ARG3/dat $ARG3/local
echo done
else
echo -n user $ARG1 already exists on this system