Description of problem: find-debuginfo already fixes directory permissions in /usr/src/debug but not file permissions; seems sensible to fix this once globally; packages which happen to ship with odd source file perms are not uncommon. find ${RPM_BUILD_ROOT}/usr/src/debug -type f -print0 | xargs -0 chmod 0644
adding %defattr is likely easiies change to control both file/directory perms.
AFAICS the macros already declare a defattr for the debuginfo subpackage and it doesn't take; defattr doesn't apply to -f files list, right?
No, but %defattr can appear in the -f files list. It should be fairly easy to prepend it.
%defattr can be used multiple times, in file manifests, and in mixed file manifests amnd lists. Be forewarned: The scoping of %defattr is likely different than what you expect, iirc only the last %defattr encountered is used.
User pnasrat's account has been closed
Reassigning to owner after bugzilla made a mess, sorry about the noise...
Based on the date this bug was created, it appears to have been reported against rawhide during the development of a Fedora release that is no longer maintained. In order to refocus our efforts as a project we are flagging all of the open bugs for releases which are no longer maintained. If this bug remains in NEEDINFO thirty (30) days from now, we will automatically close it. If you can reproduce this bug in a maintained Fedora version (7, 8, or rawhide), please change this bug to the respective version and change the status to ASSIGNED. (If you're unable to change the bug's version or status, add a comment to the bug and someone will change it for you.) Thanks for your help, and we apologize again that we haven't handled these issues to this point. The process we're following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp We will be following the process here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this doesn't happen again.
This bug has been in NEEDINFO for more than 30 days since feedback was first requested. As a result we are closing it. If you can reproduce this bug in the future against a maintained Fedora version please feel free to reopen it against that version. The process we're following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp