From dc845b3f1348dd8ea8e1566f13f3e02f12c9ac5f 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 --- archiso/initcpio/hooks/archiso | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archiso/initcpio/hooks/archiso b/archiso/initcpio/hooks/archiso index 23459e7..3edc76c 100644 --- a/archiso/initcpio/hooks/archiso +++ b/archiso/initcpio/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