Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 384380 Details for
Bug 519566
Add support for Trusted Path Execution (TPE) (fix complaints about group-writable directory)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
_post_phase_userpriv_perms: fix bug #519566
_post_phase_userpriv_perms-fix-bug-519566.patch (text/plain), 1.17 KB, created by
Zac Medico
on 2014-09-07 23:36:46 UTC
(
hide
)
Description:
_post_phase_userpriv_perms: fix bug #519566
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2014-09-07 23:36:46 UTC
Size:
1.17 KB
patch
obsolete
>From 9a852c2f4b6c27d87a68317f57d0ebcea13176bd Mon Sep 17 00:00:00 2001 >From: Zac Medico <zmedico@gentoo.org> >Date: Sun, 7 Sep 2014 16:32:59 -0700 >Subject: [PATCH] _post_phase_userpriv_perms: fix bug #519566 > >Grant permissions to the portage user instead of the group, in order >to avoid TPE complaints about the g+w bit. > >X-Gentoo-Bug: 519566 >X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=519566 >--- > pym/portage/package/ebuild/doebuild.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py >index 01707ae..58a99ad 100644 >--- a/pym/portage/package/ebuild/doebuild.py >+++ b/pym/portage/package/ebuild/doebuild.py >@@ -1644,8 +1644,8 @@ def _post_phase_userpriv_perms(mysettings): > """ Privileged phases may have left files that need to be made > writable to a less privileged user.""" > apply_recursive_permissions(mysettings["T"], >- uid=portage_uid, gid=portage_gid, dirmode=0o70, dirmask=0, >- filemode=0o60, filemask=0) >+ uid=portage_uid, gid=portage_gid, dirmode=0o700, dirmask=0, >+ filemode=0o600, filemask=0) > > def _check_build_log(mysettings, out=None): > """ >-- >1.8.5.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 519566
:
384380
|
384478