X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fboot%2F9990-overlay.sh;h=597ff50fcec72ad7ecbc2ac380f7baaa20baf1b9;hb=2dc6316b33d2bdf0807e72393929c9c1b6e1a383;hp=00c53c89d98f4e06e8a5628a949d93d4fbcad7da;hpb=3e6ca002a29e3dd9afeb57084b7bf1c7ce4504ca;p=live-boot-grml.git diff --git a/scripts/boot/9990-overlay.sh b/scripts/boot/9990-overlay.sh index 00c53c8..597ff50 100755 --- a/scripts/boot/9990-overlay.sh +++ b/scripts/boot/9990-overlay.sh @@ -343,6 +343,12 @@ setup_unionfs () # 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