| Summary: | Bad file permissions for about.jnlp | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ville Skyttä <ville.skytta> |
| Component: | java-1.6.0-openjdk | Assignee: | jiri vanek <jvanek> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | ahughes, dbhole, jvanek, langel, lkundrak, mjw, mmatejov, omajid |
| 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: | 2012-08-16 21:27:36 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Ville Skyttä
2011-02-06 13:00:30 UTC
I can confirm the bug. Upstream has the right permissions: http://icedtea.classpath.org/hg/release/icedtea6-1.9/file/tip/netx/net/sourceforge/jnlp/resources/ yap. wil change them in spec file (In reply to comment #2) > yap. wil change them in spec file That's sounds like a good idea. Thanks. What I dont understand how those permissions changed in the first place. The permissions look fine in the icedtea tarball and the spec file does not touch them at all. Looking at the build log, there are a few commands like this which I suspect could be causing it:
find ... -type f -exec chmod 640 '{}' ';' -o -type d -exec chmod 750 '{}' ';'
http://kojipkgs.fedoraproject.org/packages/java-1.6.0-openjdk/1.6.0.0/53.1.9.6.fc15/data/logs/x86_64/build.log
For example, there's this:
(cd /builddir/build/BUILD/icedtea6-1.9.6/netx.build ; \
mkdir -p lib ; \
/builddir/build/BUILD/icedtea6-1.9.6/bootstrap/jdk1.6.0/bin/jar cf lib/classes.jar javax/jnlp net ; \
cp -pPR -l /builddir/build/BUILD/icedtea6-1.9.6/netx src; \
find src -type f -exec chmod 640 '{}' ';' -o -type d -exec chmod 750 '{}' ';'; \
cd src ; \
/builddir/build/BUILD/icedtea6-1.9.6/bootstrap/jdk1.6.0/bin/jar uf /builddir/build/BUILD/icedtea6-1.9.6/netx.build/lib/classes.jar \
`find . -type f -not -name '*.java'` ; \
/usr/bin/zip -qr /builddir/build/BUILD/icedtea6-1.9.6/netx.build/lib/src.zip javax net )
No idea what the reason behind those chmods is, haven't looked deeper.
Unrelated. That's copying the source code of netx over to create a zip file, src.zip, for the OpenJDK build and it needs to ensure that the copy is writable (the source tree could be read-only). In all my installs here, about.jnlp has the correct permissions: $ ll /home/andrew/build/icedtea6-1.7/jre/lib/about.jnlp -rw-r--r-- 1 andrew staff 607 Feb 14 12:19 /home/andrew/build/icedtea6-1.7/jre/lib/about.jnlp $ ll /home/andrew/build/icedtea6-1.8/jre/lib/about.jnlp -rw-r--r-- 1 andrew staff 607 Feb 14 15:01 /home/andrew/build/icedtea6-1.8/jre/lib/about.jnlp $ ll /home/andrew/build/icedtea6-1.9/jre/lib/about.jnlp -rw-r--r-- 1 andrew staff 607 Feb 14 16:49 /home/andrew/build/icedtea6-1.9/jre/lib/about.jnlp So my guess is this is something the RPM spec file is doing, not IcedTea. it is no pain to add %attr(0644,-,-) %{jredir}/lib/about.jnlp into %files and so be sure.
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 |