[SCM] live-boot branch, debian, updated. debian/3.0_a25-1-72-gfc7a680

Daniel Baumann daniel at debian.org
Thu Apr 5 06:21:42 UTC 2012


The following commit has been merged in the debian branch:
commit d4d4f98335c3bd91192501e123694a727da85956
Author: Tails developers <amnesia at boum.org>
Date:   Mon Mar 26 19:22:47 2012 +0200

    Copy perms/ownership from source when creating linkfiles dest dirs.

diff --git a/scripts/live-helpers b/scripts/live-helpers
index ffc2025..78de240 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -1181,9 +1181,8 @@ link_files ()
 			if [ ! -d "${dest}" ]
 			then
 				mkdir -p "${dest}"
-				prev="$(dirname "${dest}")"
-				chown_ref "${prev}" "${dest}"
-				chmod_ref "${prev}" "${dest}"
+				chown_ref "${src}" "${dest}"
+				chmod_ref "${src}" "${dest}"
 			fi
 			link_files "${src}" "${dest}" "${src_mask}"
 		else

-- 
live-boot



More information about the debian-live-changes mailing list