Skip to content
Snippets Groups Projects
Commit dc845b3f authored by Christian Hesse's avatar Christian Hesse :stuck_out_tongue_winking_eye: Committed by Gerardo Pozzi
Browse files

limit access to cow directory


Signed-off-by: default avatarChristian Hesse <mail@eworm.de>
parent b1a397e9
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment