Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 406294 Details for
Bug 554084
unpack: improve speed by reducing number of chmods to perform using find -not -perm
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
unpack(): do chmod when needed only
0001-unpack-improve-chmod-speed-bug-554084.patch (text/plain), 839 bytes, created by
Michael Haubenwallner (RETIRED)
on 2015-07-07 09:08:00 UTC
(
hide
)
Description:
unpack(): do chmod when needed only
Filename:
MIME Type:
Creator:
Michael Haubenwallner (RETIRED)
Created:
2015-07-07 09:08:00 UTC
Size:
839 bytes
patch
obsolete
>From cf61d62db6c7ae947e3eead4018e8c59e3c9b740 Mon Sep 17 00:00:00 2001 >From: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com> >Date: Tue, 7 Jul 2015 10:47:33 +0200 >Subject: [PATCH] unpack: improve chmod speed, bug#554084 > >--- > bin/phase-helpers.sh | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh >index efd2cfa..bf3ae1f 100644 >--- a/bin/phase-helpers.sh >+++ b/bin/phase-helpers.sh >@@ -531,8 +531,8 @@ unpack() { > done > # Do not chmod '.' since it's probably ${WORKDIR} and PORTAGE_WORKDIR_MODE > # should be preserved. >- find . -mindepth 1 -maxdepth 1 ! -type l -print0 | \ >- ${XARGS} -0 chmod -fR a+rX,u+w,g-w,o-w >+ find . -mindepth 1 '!' -type l '!' -perm /a+rX,u+w,g-w,o-w -print0 | \ >+ ${XARGS} -0 chmod -f a+rX,u+w,g-w,o-w > } > > econf() { >-- >2.0.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 554084
:
406252
|
406294
|
406306