summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/boot/9990-overlay.sh6
1 files changed, 6 insertions, 0 deletions
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