Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/initcpio/hooks
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2015-05-06 10:12:42 +0200
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2015-05-29 17:03:10 -0300
commitdc845b3f1348dd8ea8e1566f13f3e02f12c9ac5f (patch)
tree9ed1ef8cff4f67e66a65052606b43b1a8f0276f3 /archiso/initcpio/hooks
parentb1a397e98d944006abab4038ff526b75920f01b1 (diff)
limit access to cow directory
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'archiso/initcpio/hooks')
-rw-r--r--archiso/initcpio/hooks/archiso2
1 files changed, 1 insertions, 1 deletions
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