set group for files/dirs to root instead of xcat, because the xcat group does not exist on users mn

This commit is contained in:
Bruce Potter 2013-10-11 17:28:14 -04:00
parent d3c49894d5
commit 7a187b19aa
3 changed files with 8 additions and 8 deletions

View File

@ -292,12 +292,12 @@ __EOF__
groupadd xcat
fi
chgrp -R xcat xcat-core
chgrp -R root xcat-core
chmod -R g+w xcat-core
#build the tar ball
tar -hjcf $tar_name xcat-core
chgrp xcat $tar_name
chgrp root $tar_name
chmod g+w $tar_name
if [ ! -e core-snap ]; then
@ -392,13 +392,13 @@ __EOF__
groupadd xcat
fi
chgrp -R xcat xcat-dep
chgrp -R root xcat-dep
chmod -R g+w xcat-dep
#create the tar ball
dep_tar_name=xcat-dep-ubuntu.tar.bz
tar -hjcf $dep_tar_name xcat-dep
chgrp xcat $dep_tar_name
chgrp root $dep_tar_name
chmod g+w $dep_tar_name
if [ -n "$UP" ] && [ "$UP" == 0 ];then

View File

@ -375,9 +375,9 @@ else # linux
groupadd xcat
fi
fi
chgrp -R xcat $DESTDIR
chgrp -R root $DESTDIR
chmod -R g+w $DESTDIR
chgrp -R xcat $SRCDIR
chgrp -R root $SRCDIR
chmod -R g+w $SRCDIR
else # end of very long if-not-promote
@ -437,7 +437,7 @@ if [ "$OSNAME" = "AIX" ]; then
else
tar $verboseflag -hjcf $TARNAME $XCATCORE
fi
chgrp xcat $TARNAME
chgrp root $TARNAME
chmod g+w $TARNAME
# Decide whether to upload or not

View File

@ -201,7 +201,7 @@ else
groupadd xcat
fi
fi
chgrp -R xcat *
chgrp -R root *
chmod -R g+w *
# Build the tarball