Mail archive
alpine-devel

[alpine-devel] [PATCH abuild 4/4] buildlab: proper permissions for chroot/tmo

From: Eivind Uggedal <eu_at_eju.no>
Date: Mon, 6 May 2019 21:47:47 +0000

Without this the abuild user won't be able
to create tmp files (and not build anything).
---
 buildlab.in | 1 +
 1 file changed, 1 insertion(+)
diff --git a/buildlab.in b/buildlab.in
index f06a68266a48..b77d1becc5d7 100644
--- a/buildlab.in
+++ b/buildlab.in
_at_@ -136,6 +136,7 @@ prepare_chroot() {
 	mkdir -p "$path"/var/lock
 	mkdir -p "$path"/var/cache/apk
 	mkdir -p "$path"/tmp
+	chmod 1777 "$path"/tmp
 
 	mkdir -p "$path"/etc
 	cp /etc/resolv.conf "$path"/etc/resolv.conf
-- 
2.20.1
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Mon May 06 2019 - 21:47:47 UTC