From e58bd7992d0d7b657f02561eb4c255bdfe6751d6 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Thu, 17 Oct 2019 14:44:26 +0000
Subject: [PATCH] scripts/genrootfs.sh: fix permissions of / in minirootfs

ref #9066
---
 scripts/genrootfs.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/genrootfs.sh b/scripts/genrootfs.sh
index 2c2c938a06d4..72f2c8f9e4d4 100755
--- a/scripts/genrootfs.sh
+++ b/scripts/genrootfs.sh
@@ -6,6 +6,7 @@ cleanup() {
 
 tmp="$(mktemp -d)"
 trap cleanup EXIT
+chmod 0755 "$tmp"
 
 arch="$(apk --print-arch)"
 repositories_file=/etc/apk/repositories
-- 
GitLab