--- builds_bin/build_installer 2008/07/07 15:35:28 1.14 +++ builds_bin/build_installer 2008/07/08 13:58:19 1.15 @@ -76,8 +76,8 @@ find $(pwd)/$distarch/SME/ -type l | xar # Copy updated isolinux files sudo cp -f /stage/extra/isolinux/$distrel/* $(pwd)/$distarch/isolinux/ -sudo chown -R 9000:9001 $(pwd)/$distarch/ -sudo chmod -R u+rwX,g+rwX,o+rX,o-w $(pwd)/$distarch/ +find $(pwd)/$distarch -\( -not -user 9000 -o -not -group 9000 -\) -print0 | xargs -r0 chown 9000:9000 +find $(pwd)/$distarch -\( -type f -not -perm -0664 -o -type d -not -perm -0775 -\) -print0 | xargs -r0 chmod u+rwX,g+rwX,o+rX,o-w echo "You now need to run /stage/bin/build_ISO as non-root"