# tmpfs file systems
touch /etc/fstab
- mkdir -p /live
- mount -t tmpfs tmpfs /live
mkdir -p /live/overlay
+ mount -t tmpfs tmpfs /live/overlay
# Looking for persistence devices or files
if [ -n "${PERSISTENCE}" ] && [ -z "${NOPERSISTENCE}" ]
# Correct the permissions of /:
chmod 0755 "${rootmnt}"
+ # Correct the permission of /tmp:
+ if [ -d "${rootmnt}/tmp" ]
+ then
+ chmod 1777 "${rootmnt}"/tmp
+ fi
+
live_rofs_list=""
# SHOWMOUNTS is necessary for custom mounts with the union option
# Since we may want to do custom mounts in user-space it's best to always enable SHOWMOUNTS