limit access to cow directory
Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
parent
b1a397e98d
commit
dc845b3f13
@ -172,7 +172,7 @@ archiso_mount_handler() {
|
|||||||
mkdir -p /run/archiso/cowspace
|
mkdir -p /run/archiso/cowspace
|
||||||
mount -t tmpfs -o "size=${cow_spacesize}",mode=0755 cowspace /run/archiso/cowspace
|
mount -t tmpfs -o "size=${cow_spacesize}",mode=0755 cowspace /run/archiso/cowspace
|
||||||
fi
|
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"
|
_mnt_sfs "/run/archiso/bootmnt/${archisobasedir}/${arch}/airootfs.sfs" "/run/archiso/sfs/airootfs"
|
||||||
if [[ -f "/run/archiso/sfs/airootfs/airootfs.img" ]]; then
|
if [[ -f "/run/archiso/sfs/airootfs/airootfs.img" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user