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

Bug 135639

Summary: suidctl.conf should record which suid bits had been set
Product: Portage Development Reporter: splite <splite-gentoo>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: 2.1   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 115839    
Attachments: save ls output before stripping suid bits

Description splite 2006-06-05 08:10:40 UTC
The comment added to suidctl.conf when suid bits are stripped isn't all that useful because it shows the ls output *after* the bits have already been stripped.  If I decide it's okay for that file to be suid, I either have to guess which bits were set, or re-emerge the package (after determining which package the file belongs to.)

The simple fix is to gather the ls output before stripping the bits.
Comment 1 splite 2006-06-05 08:11:38 UTC
Created attachment 88441 [details, diff]
save ls output before stripping suid bits
Comment 2 Zac Medico gentoo-dev 2006-06-05 10:17:35 UTC
Thanks, this is in svn r3462.
Comment 3 Zac Medico gentoo-dev 2006-06-05 22:38:39 UTC
This has been released in 2.1_rc4-r3.