Fixing relaxed permissions of / in the live filesystem.
authorLuigi Capriotti <l.capriotti@xbmc.org>
Fri, 19 Jun 2009 13:09:56 +0000 (15:09 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:48:05 +0000 (17:48 +0100)
scripts/live

index 683afa2..a28d6e9 100755 (executable)
@@ -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"