From ff48401963c73a299373a61bca14b60519e4e3c1 Mon Sep 17 00:00:00 2001 From: Levente Polyak Date: Wed, 22 Feb 2017 13:16:03 +0100 Subject: makechrootpkg: fix potential non-writable directories of builduser in /build This removes the preservation of HOME being /build just for the pacman sudo call. Former leads to unbuildable packages when an to be installed dependency writes something into the HOME dir (f.e. .config). The resulting directories won't be writable by the builduser as they are owned by root:root and ultimately will fail to build anything that requires so. --- makechrootpkg.in | 1 - 1 file changed, 1 deletion(-) diff --git a/makechrootpkg.in b/makechrootpkg.in index e49bd48..ddf633b 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -173,7 +173,6 @@ prepare_chroot() { done cat > "$copydir/etc/sudoers.d/builduser-pacman" <