From: Marcel Partap Date: Sat, 18 Apr 2020 16:25:08 +0000 (+0200) Subject: Set sticky bit on /var/tmp as well (matching perms in base-files) X-Git-Tag: debian/1%20210122~6^2 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=17ffaa3ad03404426de16a3748699f1b91f40c42 Set sticky bit on /var/tmp as well (matching perms in base-files) (Fixes f.e. CUPS PDF driver not producing output files) --- 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