| Summary: | Default permissions in spec file overriding per-directory permissions | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | David Shaw <dshaw> | ||||
| Component: | rpm | Assignee: | Panu Matilainen <pmatilai> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 14 | CC: | ffesti, jnovy, pmatilai | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-06-07 06:50:39 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
*** This bug has been marked as a duplicate of bug 681540 *** |
Created attachment 503335 [details] Test spec file Description of problem: When creating an rpm that has both a %defattr line and also a directory that has its mode set via %attr, the %defattr overrides the %attr instead of vice versa Version-Release number of selected component (if applicable): rpm-build-4.8.1-5.fc14.i686 rpm-4.8.1-5.fc14.i686 Steps to Reproduce: 1. rpmbuild the attached testrpm.spec file. 2. rpm -qplv /path/to/the/resulting/rpm/file 3. Note the directory is 0755, but should be 0777 Actual results: The directory is 0755 Expected results: The directory should be 0777 Additional info: FWIW, this worked in F11.