[SCM] live-boot branch, tmp-persistent-custom, updated. debian/3.0_a25-1-46-g1e888cb

Tails developers amnesia at boum.org
Tue Mar 20 16:40:01 UTC 2012


The following commit has been merged in the tmp-persistent-custom branch:
commit 5ee7c168a450b5d823e17d92778cf6688e89b1be
Author: Tails developers <amnesia at boum.org>
Date:   Mon Mar 19 23:06:13 2012 +0100

    Fix ownership/perms for created union/linkfiles source dirs.

diff --git a/scripts/live-helpers b/scripts/live-helpers
index 4be7d9d..7eb45e9 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -1406,6 +1406,8 @@ activate_custom_mounts ()
 				# unions and don't need to be bootstrapped
 				# linkfiles dirs can't be bootstrapped in a sensible way
 				mkdir "${source}"
+				chown --reference "${dest}" "${source}"
+				chmod --reference "${dest}" "${source}"
 			else
 				# ensure that $dest is not copied *into* $source
 				mkdir -p "$(dirname ${source})"

-- 
live-boot



More information about the debian-live-changes mailing list