From 916c9458ead4b3a2c227ff625483ac7470805ee6 Mon Sep 17 00:00:00 2001 From: Tails developers Date: Mon, 6 Feb 2012 11:22:05 +0100 Subject: Prevent custom mounting in /live. --- scripts/live | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/live b/scripts/live index 821103a..d9a8972 100755 --- a/scripts/live +++ b/scripts/live @@ -1636,9 +1636,10 @@ setup_unionfs () then dest="${source}" fi - if echo ${dest} | grep -qe "^/\+$" + if echo ${dest} | grep -qe "^/\+$\|^/\+live\(/.*\)\?$" then - log_warning_msg "Skipping custom mount on /" + # mounting on / or /live could cause trouble + log_warning_msg "Skipping unsafe custom mount on ${dest}" continue fi -- cgit v1.2.3