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

Bug 523706

Summary: sys-apps/portage: config protection for file modes
Product: Portage Development Reporter: Mike Gilbert <floppym>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: enhancement CC: preed, till2.schaefer
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=134677
https://bugs.gentoo.org/show_bug.cgi?id=836954
https://bugs.gentoo.org/show_bug.cgi?id=654122
https://bugs.gentoo.org/show_bug.cgi?id=605082
https://bugs.gentoo.org/show_bug.cgi?id=230818
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 193766    

Description Mike Gilbert gentoo-dev 2014-09-25 16:13:32 UTC
It would be nice if portage would compare modes (permissions) when merging config-protected files. There are cases where the file mode is significant.

For example, files in /etc/grub.d are only evaluated by grub-mkconfig if the execute bit is set.
Comment 1 Zac Medico gentoo-dev 2014-09-25 18:19:48 UTC
Note that bug 396153 suggests a solution for managing local permissions for *all* files, even those not protected by CONFIG_PROTECT.
Comment 2 Mike Gilbert gentoo-dev 2016-03-06 17:48:40 UTC
*** Bug 576594 has been marked as a duplicate of this bug. ***