[SCM] live-boot branch, debian-next, updated. debian/3.0_a38-1-15-g51d20b4

Daniel Baumann daniel at debian.org
Wed Aug 15 18:25:44 UTC 2012


The following commit has been merged in the debian-next branch:
commit 51d20b4aa481a6c1338cdef8fb0983b717467f7b
Author: Daniel Baumann <daniel at debian.org>
Date:   Wed Aug 15 20:25:41 2012 +0200

    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..ae5a1b3 100755
--- a/scripts/boot/9990-overlay.sh
+++ b/scripts/boot/9990-overlay.sh
@@ -342,6 +342,11 @@ 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

-- 
live-boot



More information about the debian-live-changes mailing list