Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/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
commit62a9373eeb579bd18e43b9ce2efe0fb3a63ea2f7 (patch)
tree681de2713b696d57da25d045f78f709851534ecb /hooks
parent50ffa406f04de782222fcae07c8ba671cefe95f6 (diff)
limit access to cow directory
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'hooks')
-rw-r--r--hooks/archiso2
1 files changed, 1 insertions, 1 deletions
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