X-Original-To: alpine-devel@lists.alpinelinux.org Received: from eju.eju.no (eju.no [139.162.216.22]) by lists.alpinelinux.org (Postfix) with ESMTP id 08DB0F8149D for ; Mon, 6 May 2019 21:48:08 +0000 (UTC) Received: by eju.eju.no (Postfix, from userid 1000) id 72267177F04; Mon, 6 May 2019 21:48:08 +0000 (UTC) From: Eivind Uggedal To: alpine-devel@lists.alpinelinux.org Cc: Eivind Uggedal Subject: [alpine-devel] [PATCH abuild 4/4] buildlab: proper permissions for chroot/tmo Date: Mon, 6 May 2019 21:47:47 +0000 Message-Id: <20190506214747.26486-5-eu@eju.no> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190506214747.26486-1-eu@eju.no> References: <20190506214747.26486-1-eu@eju.no> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 @@ -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@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---