X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive;h=89fcd50d5360b8da53588575d4290a0f6cb2f054;hb=2c2184b6deff74fd2ea091edeee34efa08b74b09;hp=683afa2a8b2e924868c050ac889a37dc11d063dc;hpb=67fde4e3bc3d532794205f6beda6a7ebe8243834;p=live-boot-grml.git diff --git a/scripts/live b/scripts/live index 683afa2..89fcd50 100755 --- a/scripts/live +++ b/scripts/live @@ -927,7 +927,7 @@ find_snap () if [ "${PERSISTENT}" != "nofiles" ] then # search for image files - snapdata=$(find_files "${snap_label}.squashfs ${snap_label}.cpio.gz ${snap_label}.ext2 ${snap_label}.ext3 ${snal_label}.ext4 ${snap_label}.jffs2") + snapdata=$(find_files "${snap_label}.squashfs ${snap_label}.cpio.gz ${snap_label}.ext2 ${snap_label}.ext3 ${snap_label}.ext4 ${snap_label}.jffs2") fi if [ -z "${snapdata}" ] @@ -1286,6 +1286,9 @@ setup_unionfs () ${rootmnt} failed with option noatime,dirs=/cow=rw:${rofsstring}" fi + # Correct the permissions of /: + chmod 0755 "${rootmnt}" + # tmpfs file systems touch /etc/fstab mkdir -p "${rootmnt}/live"