From: Daniel Baumann Date: Wed, 15 Aug 2012 18:25:41 +0000 (+0200) Subject: Correcting permissions of /tmp which apparently somehow get mixed up along the way. X-Git-Tag: debian/3.0_b1-1~2 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=2dc6316b33d2bdf0807e72393929c9c1b6e1a383 Correcting permissions of /tmp which apparently somehow get mixed up along the way. --- 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