Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: bin/
Date: Mon, 28 Sep 2015 19:10:10
Message-Id: 1443467243.24779b15daef7101111c12de2dd6a6a5c3e374d4.dolsen@gentoo
1 commit: 24779b15daef7101111c12de2dd6a6a5c3e374d4
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 27 13:24:49 2015 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 28 19:07:23 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=24779b15
7
8 Revert "unpack: avoid useless chmods to improve speed"
9
10 This reverts commit 0dc7b2a3923508896cf217f325b8339d73353553.
11
12 The "optimized" chmod is no longer recursive, which causes files to be
13 missed.
14
15 X-Gentoo-Bug: 561368
16 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=561368
17
18 bin/phase-helpers.sh | 4 ++--
19 1 file changed, 2 insertions(+), 2 deletions(-)
20
21 diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh
22 index b446060..efd2cfa 100644
23 --- a/bin/phase-helpers.sh
24 +++ b/bin/phase-helpers.sh
25 @@ -531,8 +531,8 @@ unpack() {
26 done
27 # Do not chmod '.' since it's probably ${WORKDIR} and PORTAGE_WORKDIR_MODE
28 # should be preserved.
29 - find . -mindepth 1 '!' -type l '!' -perm /a+rX,u+w,g-w,o-w \
30 - -exec chmod -f a+rX,u+w,g-w,o-w '{}' +
31 + find . -mindepth 1 -maxdepth 1 ! -type l -print0 | \
32 + ${XARGS} -0 chmod -fR a+rX,u+w,g-w,o-w
33 }
34
35 econf() {