RPM

%defattr(0644,root,root,-) modifies directory permissions

Bug #633662 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RPM
Confirmed
Low
Jeff Johnson
Fedora
Won't Fix
Medium

Bug Description

Tracker

Revision history for this message
In , Mamoru (mamoru-redhat-bugs) wrote :

Description of problem:
With %defattr(0644,root,root,-), rpm seems to create directories
with 0644 permission.

With %defattr(-,root,root,-) or %defattr(0644,root,root,0755)
rpm creates directories with 0755 permission

Version-Release number of selected component (if applicable):
rpm-4.6.0-0.rc3.2.fc11.i386

How reproducible:
100%

Steps to Reproduce:
1. rebuild this (came from a review request I am currently reviewing)
http://mtasaka.fedorapeople.org/Bugfix/gimp-fourier-plugin-0.3.2-1.fc10.src.rpm

2. Check the permission of documents directory
3.

Actual results:
From rpmlint:
gimp-fourier-plugin.i386: E: non-standard-dir-perm /usr/share/doc/gimp-fourier-plugin-0.3.2 0644

Expected results:
/usr/share/doc/gimp-fourier-plugin-0.3.2 should have 0755 permission

Additional info:

Revision history for this message
In , Jeff (jeff-redhat-bugs) wrote :

The %defattr (and the %attr and all other %files attributes in spec files) do
not scope correctly across %doc items.

Revision history for this message
In , Bug (bug-redhat-bugs) wrote :

This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Revision history for this message
In , Till (till-redhat-bugs) wrote :

reproduced with: 4.7.0-2.fc11

Revision history for this message
In , Bug (bug-redhat-bugs) wrote :

This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '11'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 11's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 11 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Revision history for this message
In , Bug (bug-redhat-bugs) wrote :

This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Revision history for this message
Jeff Johnson (n3npq) wrote :

%attr scoping with %doc

Changed in rpm:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Jeff Johnson (n3npq)
tags: added: fedora rpmbuild
Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

This message is a notice that Fedora 14 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 14. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 14 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Changed in fedora:
importance: Unknown → Medium
status: Unknown → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.