From 5bfa455e36867261f9f7f5b760b2245804041145 Mon Sep 17 00:00:00 2001 From: Luigi Capriotti Date: Fri, 19 Jun 2009 15:09:56 +0200 Subject: [PATCH] Fixing relaxed permissions of / in the live filesystem. --- scripts/live | 3 +++ 1 file changed, 3 insertions(+) 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" -- 2.1.4