Bug 228987 - find-debuginfo: also fix source code perms in /usr/src/debug
Summary: find-debuginfo: also fix source code perms in /usr/src/debug
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact:
URL:
Whiteboard: bzcl34nup
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-02-16 12:07 UTC by Joe Orton
Modified: 2008-05-07 01:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-07 01:11:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joe Orton 2007-02-16 12:07:32 UTC
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

Comment 1 Jeff Johnson 2007-02-16 12:18:38 UTC
adding %defattr is likely easiies change to control both file/directory perms.

Comment 2 Joe Orton 2007-02-19 18:52:09 UTC
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?

Comment 3 Michael Jennings (KainX) 2007-02-19 18:57:19 UTC
No, but %defattr can appear in the -f files list.  It should be fairly easy to
prepend it.


Comment 4 Jeff Johnson 2007-02-19 21:57:32 UTC
%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.

Comment 5 Red Hat Bugzilla 2007-08-21 05:31:59 UTC
User pnasrat's account has been closed

Comment 6 Panu Matilainen 2007-08-22 06:30:14 UTC
Reassigning to owner after bugzilla made a mess, sorry about the noise...

Comment 7 Bug Zapper 2008-04-03 19:09:56 UTC
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.

Comment 8 Bug Zapper 2008-05-07 01:11:47 UTC
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


Note You need to log in before you can comment on or make changes to this bug.