From 62a9373eeb579bd18e43b9ce2efe0fb3a63ea2f7 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 6 May 2015 10:12:42 +0200 Subject: limit access to cow directory Signed-off-by: Christian Hesse --- hooks/archiso | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hooks') diff --git a/hooks/archiso b/hooks/archiso index 23459e7..3edc76c 100644 --- a/hooks/archiso +++ b/hooks/archiso @@ -172,7 +172,7 @@ archiso_mount_handler() { mkdir -p /run/archiso/cowspace mount -t tmpfs -o "size=${cow_spacesize}",mode=0755 cowspace /run/archiso/cowspace fi - mkdir -p "/run/archiso/cowspace/${cow_directory}" + mkdir -p -m 0700 "/run/archiso/cowspace/${cow_directory}" _mnt_sfs "/run/archiso/bootmnt/${archisobasedir}/${arch}/airootfs.sfs" "/run/archiso/sfs/airootfs" if [[ -f "/run/archiso/sfs/airootfs/airootfs.img" ]]; then -- cgit v1.2.3-70-g09d2