Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634400 - sys-apps/portage: eapply_user does not die it fails to access patches due to file permissions
Summary: sys-apps/portage: eapply_user does not die it fails to access patches due to ...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: Normal normal with 1 vote (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-10-16 02:35 UTC by Zac Medico
Modified: 2024-03-17 21:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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