[SCM] live-boot branch, debian-next, updated. debian/3.0_a25-1-70-ga39a167

Daniel Baumann daniel at debian.org
Thu Apr 5 06:00:34 UTC 2012


The following commit has been merged in the debian-next branch:
commit 0804cf7a59f902703340ce47b4e0c93f93cc20e9
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