summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuigi Capriotti <l.capriotti@xbmc.org>2009-06-19 15:09:56 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:05 +0100
commit5bfa455e36867261f9f7f5b760b2245804041145 (patch)
treebe76049586137911507e88fbbc6ca0ee021629fd
parent3da10dcee61c32653acb775a0fc8348ea5287c5a (diff)
downloadlive-boot-5bfa455e36867261f9f7f5b760b2245804041145.tar.gz
live-boot-5bfa455e36867261f9f7f5b760b2245804041145.zip
Fixing relaxed permissions of / in the live filesystem.
-rwxr-xr-xscripts/live3
1 files changed, 3 insertions, 0 deletions
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"