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

Bug 708950

Summary: sys-apps/portage-2.3.84-r1 uses GNU specific find options in install checks
Product: Portage Development Reporter: Chris Slycord <cslycord>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: UNCONFIRMED ---    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to change to be posix compliant

Description Chris Slycord 2020-02-10 10:13:16 UTC
In 90bad-bin-group-write and 90bad-bin-user-write, portage uses the GNU specific options -gid and -uid to check for that the group/user is 0.

These can be changed to "-group 0" and "-user 0", which is more portable

Reproducible: Always

Steps to Reproduce:
1. Set find to be a POSIX version
2. install any package 
3.
Actual Results:  
Errors that -gid and -uid are unrecognized options

Expected Results:  
Run without errors
Comment 1 Chris Slycord 2020-02-10 10:14:32 UTC
Created attachment 613172 [details, diff]
patch to change to be posix compliant