X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=components%2F9990-overlay.sh;h=8350502460d9bead4f9cb68d5227887368eefcd8;hb=HEAD;hp=eb57d4dbb27a8c4748c19ce1929b0c4737cb07c6;hpb=71d0584ad5389b1b09c9bd5c68e972a9397aa6c9;p=live-boot-grml.git diff --git a/components/9990-overlay.sh b/components/9990-overlay.sh index eb57d4d..8350502 100755 --- a/components/9990-overlay.sh +++ b/components/9990-overlay.sh @@ -310,6 +310,12 @@ setup_unionfs () chmod 1777 "${rootmnt}"/tmp fi + # Correct the permission of /var/tmp: + if [ -d "${rootmnt}/var/tmp" ] + then + chmod 1777 "${rootmnt}"/var/tmp + fi + # Adding custom persistence if [ -n "${PERSISTENCE}" ] && [ -z "${NOPERSISTENCE}" ] then