[SCM] Debian Live initramfs hook branch, master, updated. 1.157.2-1-16-g2a5d1e5

Daniel Baumann daniel at debian.org
Fri Jun 19 13:20:34 UTC 2009


The following commit has been merged in the master branch:
commit 2a5d1e5dd6a56fbe14b1b8ec02b12b7cf4d90e7c
Author: Luigi Capriotti <l.capriotti at xbmc.org>
Date:   Fri Jun 19 15:09:56 2009 +0200

    Fixing relaxed permissions of / in the live filesystem.

diff --git a/scripts/live b/scripts/live
index 683afa2..a28d6e9 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1286,6 +1286,9 @@ setup_unionfs ()
 			${rootmnt} failed with option noatime,dirs=/cow=rw:${rofsstring}"
 	fi
 
+	# Correct the permissions of /:
+	chmod 0755 "${rootmnt}"
+
 	# tmpfs file systems
 	touch /etc/fstab
 	mkdir -p "${rootmnt}/live"

-- 
Debian Live initramfs hook



More information about the debian-live-changes mailing list