Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1579236
Summary: | mvn_install macro seems to be doing something weird to file permissions | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mat Booth <mat.booth> | ||||
Component: | xmvn | Assignee: | Mikolaj Izdebski <mizdebsk> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 29 | CC: | ctubbsii, java-sig-commits, mat.booth, mizdebsk, msrb, richardfearn, sgehwolf, sochotni | ||||
Target Milestone: | --- | Keywords: | Upstream, VerifiedUpstream | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | xmvn-3.0.0-17.fc28 xmvn-3.0.0-18.fc29 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-04-09 18:44:22 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
That's definitely not intentional. It looks like a bug in XMvn introduced in https://github.com/fedora-java/xmvn/pull/27 I'll try to fix it later today. Note that the unpush of the update causes byteman to fail to build. See bug 1579749. Can we get xmvn-3.0.0-15 pushed as an update? The relevant PR seems only in xmvn-3.0.0-16. My intention was to only unpush the update, I'm not sure why buildroot override was untagged. Anyway this issue is fixed upstream now in https://github.com/fedora-java/xmvn/pull/31 I will submit new update and override fixing both problems. Fixed in xmvn-3.0.0-18 xmvn-3.0.0-17.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-00031e9c1c xmvn-3.0.0-17.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-00031e9c1c xmvn-3.0.0-17.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-00031e9c1c xmvn-3.0.0-17.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'. |
Created attachment 1437840 [details] Source RPM Reproducer Description of problem: I am seeing some files be installed with permissions of 600 where they used to get permissions of 644 This seems to be a change in behaviour that is breaking the Eclipse installation on F29 because these files are owned by root, so regular users no longer have read permission. I guess this is happening since javapackages-tools-5.1.0-1.fc29 Consider the attached SRPM, which has this section: %install JAR=%{buildroot}%{_prefix}/lib/eclipse/plugins/test.jar install -D %SOURCE0 $JAR ls -l $JAR %mvn_artifact "org.eclipse.osgi:test:jar:1" $JAR %mvn_install ls -l $JAR Built on F28, the final permissions of $JAR are 644, but when built on recent F29, the final permissions of $JAR are 600. Was this an intentional change?