summaryrefslogtreecommitdiff
path: root/makechrootpkg
diff options
context:
space:
mode:
authorJason Chu <jchu@xentac.net>2007-11-04 15:44:53 -0800
committerJason Chu <jchu@xentac.net>2007-11-04 15:44:53 -0800
commite32a2bb70c584dec49f5fafc449184a2b6fa6560 (patch)
treed7f562287a56d07056d9eca6b548b7b0b643d332 /makechrootpkg
parent974d8d11a69ea7e1bae58ae0a176de25d6a0f3ec (diff)
Make sure that build is owned by nobody, so that it can write to the directory
Diffstat (limited to 'makechrootpkg')
-rwxr-xr-xmakechrootpkg1
1 files changed, 1 insertions, 0 deletions
diff --git a/makechrootpkg b/makechrootpkg
index 7e087be..1ebf705 100755
--- a/makechrootpkg
+++ b/makechrootpkg
@@ -89,6 +89,7 @@ trap 'cleanup' 0 1 2 15
echo "moving build files to chroot"
[ -d "$uniondir/build" ] || mkdir "$uniondir/build"
+chown -R nobody "$uniondir/build"
source PKGBUILD
cp PKGBUILD "$uniondir/build/"