Set the temp dirs to be owned by sbuild
[buildd-scripts.git] / bin / build-client
index c5bb206..6cb9fa0 100755 (executable)
@@ -119,6 +119,7 @@ while true; do
     echo "$DATE: starting build $BNUM: ${PKG} version ${VER} for ${ARCH}"
     rm -rf build-$PKG out-$PKG
     mkdir build-$PKG out-$PKG
+    chown -R sbuild: build-$PKG out-$PKG
     cd build-$PKG
     (grab_and_build $BNUM $PKG $VER $ARCH >${LOGDIR}/${PKG_VER_ARCH}.log 2>&1)