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

Bug 931048

Summary: `ebuild ... package` sets mode 640 on binpkg
Product: Portage Development Reporter: Cedric Sodhi <manday>
Component: Binary packages supportAssignee: Portage team <dev-portage>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cedric Sodhi 2024-05-01 14:21:23 UTC
`emerge -b` create a user readable package but `ebuild ... package` sets mode 640 (how does this happen, doesn't emerge delegate to `ebuild`?). I think this is a bug and one would expect a consistent 644 from both.
Comment 1 Mike Gilbert gentoo-dev 2024-05-01 14:48:53 UTC
(In reply to Cedric Sodhi from comment #0)
> doesn't emerge delegate to `ebuild`?

Nope. They share a lot of code, but ultimately they are separate entry points with differing behavior on occasion.

Agreed that this should probably behave consistently with either command.