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

Bug 356779

Summary: app-portage/gentoolkit-0.2.4.6.1-r1: revdep-rebuild creates .rr files with executable bit set
Product: Gentoo Linux Reporter: Dan Wallis <mrdanwallis>
Component: [OLD] Core systemAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: trivial Keywords: InVCS
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 237964    

Description Dan Wallis 2011-02-28 01:24:26 UTC
While doing some repair/maintenance works on a Gentoo system I administer, I noticed the files in /var/cache/revdep-rebuild all have their executable bit set.

Looking through /usr/bin/revdep-rebuild, I found a 'chmod 700 "$file"' on line 627, which should probably be 'chmod 600 "$file"'.

Also, I couldn't find any explicit setting of umask in the script, so that should probably be added somewhere in the initialisation?
Comment 2 Paul Varner (RETIRED) gentoo-dev 2011-05-13 05:33:05 UTC
Released in gentoolkit-0.3.0.2