From 736bf3f7e6ae4a80cc85c846a4d5d074a325c9f4 Mon Sep 17 00:00:00 2001 From: Samuel Andaya Date: Sun, 2 Feb 2014 08:50:54 -0500 Subject: [PATCH] Update mkimage-arch.sh mktemp creates a root directory ("/") with permissions set to 700. Default should be 755 so other users in the container can access its subdirs (e.g http user for nginx for /srv/http/test/index.html). Docker-DCO-1.1-Signed-off-by: Samuel Andaya (github: sandaya) --- contrib/mkimage-arch.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/mkimage-arch.sh b/contrib/mkimage-arch.sh index f83ecf7909..d178a1df3d 100755 --- a/contrib/mkimage-arch.sh +++ b/contrib/mkimage-arch.sh @@ -15,6 +15,7 @@ hash expect &>/dev/null || { } ROOTFS=$(mktemp -d /tmp/rootfs-archlinux-XXXXXXXXXX) +chmod 755 $ROOTFS # packages to ignore for space savings PKGIGNORE=linux,jfsutils,lvm2,cryptsetup,groff,man-db,man-pages,mdadm,pciutils,pcmciautils,reiserfsprogs,s-nail,xfsprogs