diff options
author | Nico Roeser <n-roeser@gmx.net> | 2012-08-11 12:11:06 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-08-11 12:11:06 -0700 |
commit | a1c6b4cf64735c65ffc64706d0f4e4733cd59562 (patch) | |
tree | 85851ba3fed103c501ca59b17eb537414af13b5f | |
parent | 55a7b859d40e6130217cea63a9027730f6780239 (diff) | |
download | portage-a1c6b4cf64735c65ffc64706d0f4e4733cd59562.tar.gz portage-a1c6b4cf64735c65ffc64706d0f4e4733cd59562.tar.bz2 portage-a1c6b4cf64735c65ffc64706d0f4e4733cd59562.zip |
installsources: fix file permissions, bug #430962
-rwxr-xr-x | bin/ebuild-helpers/prepstrip | 2 |
1 files changed, 1 insertions, 1 deletions
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. |