Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 634400

Summary: sys-apps/portage: eapply_user does not die it fails to access patches due to file permissions
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: CoreAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal CC: kingjon3377, sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=634396
Whiteboard:
Package list:
Runtime testing required: ---

Description Zac Medico gentoo-dev 2017-10-16 02:35:09 UTC
This code can silently omit patches if the portage user does not have access to the relevant directories:

    for d in "${basedir}"/${CATEGORY}/{${P}-${PR},${P},${PN}}{:${SLOT%/*},}; do
        for f in "${d}"/*; do
Comment 1 kfm 2017-10-16 04:13:05 UTC
I've proposed a patch here: https://bugs.gentoo.org/attachment.cgi?id=498816