diff --git a/build-ubunturepo b/build-ubunturepo index 482466a8f..99f870018 100755 --- a/build-ubunturepo +++ b/build-ubunturepo @@ -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 diff --git a/buildcore.sh b/buildcore.sh index 97ab6e8f4..32d97b12e 100755 --- a/buildcore.sh +++ b/buildcore.sh @@ -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 diff --git a/builddep.sh b/builddep.sh index c649aceb3..2f6e1dbaf 100755 --- a/builddep.sh +++ b/builddep.sh @@ -201,7 +201,7 @@ else groupadd xcat fi fi -chgrp -R xcat * +chgrp -R root * chmod -R g+w * # Build the tarball