diff --git a/behave/container-setup-prebuilt-rpms.sh b/behave/container-setup-prebuilt-rpms.sh index b39488f3..a7b74344 100644 --- a/behave/container-setup-prebuilt-rpms.sh +++ b/behave/container-setup-prebuilt-rpms.sh @@ -100,7 +100,7 @@ FILES="_buildenv _statistics rpmlint.log" for ARCH in $ARCHES; do for PACKAGE in $PACKAGES; do for FILE in $FILES; do - touch /srv/obs/build/test:factory/standard/$ARCH/$PACKAGE/$FILE + runuser -l obsrun -s /bin/bash -c "touch /srv/obs/build/test:factory/standard/$ARCH/$PACKAGE/$FILE" done done done