From a1c6b4cf64735c65ffc64706d0f4e4733cd59562 Mon Sep 17 00:00:00 2001 From: Nico Roeser Date: Sat, 11 Aug 2012 12:11:06 -0700 Subject: [PATCH] installsources: fix file permissions, bug #430962 --- bin/ebuild-helpers/prepstrip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ebuild-helpers/prepstrip b/bin/ebuild-helpers/prepstrip index fe5c1bc32..bbcfac2a4 100755 --- a/bin/ebuild-helpers/prepstrip +++ b/bin/ebuild-helpers/prepstrip @@ -307,7 +307,7 @@ then [[ -d ${D}${prepstrip_sources_dir} ]] || mkdir -p "${D}${prepstrip_sources_dir}" grep -zv '/<[^/>]*>$' "${tmpdir}"/debug.sources | \ (cd "${WORKDIR}"; LANG=C sort -z -u | \ - rsync -tL0 --files-from=- "${WORKDIR}/" "${D}${prepstrip_sources_dir}/" ) + rsync -tL0 --chmod=ugo-st,a+r,go-w,Da+x,Fa-x --files-from=- "${WORKDIR}/" "${D}${prepstrip_sources_dir}/" ) # Preserve directory structure. # Needed after running save_elf_sources. -- 2.26.2