View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000388 | mercury | Bug | public | 2015-07-10 13:50 | 2015-12-14 10:31 | ||||
Reporter | juliensf | ||||||||
Assigned To | juliensf | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | 15.11 | Fixed in Version | |||||||
Summary | 0000388: Inconsistent permissions on library jar files | ||||||||
Description | The Java archives for the standard libraries are installed in such a way that they only user readable and writeable. Aside from not being very useful in multi-user environments, this is also inconsistent with the permissions on the library files in other grades (which are group readable and writeable and world readable.) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
Notes | |
juliensf (administrator) 2015-07-10 14:07 |
This is occurring on a CentOS 7 system. Thing are ok on OS X system. |
sebgod (reporter) 2015-07-10 14:15 |
Hello Julien. I have the same problem on Fedora as well. This is a problem introduced by Java 7+, where temporary files get only 0600 permissions. This happens when the Mercury compiler invokes the Java index option, which is currently used in a wrong fashion any way, since the jar index only works for multiple referenced jar files, but Mercury only references the jar file itself, which is not needed. I've added a patch to make that point clearer. |
juliensf (administrator) 2015-12-14 10:31 |
Fixed in commit 2d01e41. (The race condition on Windows has been moved into bug 0000399.) |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2015-07-10 13:50 | juliensf | New Issue | |
2015-07-10 14:07 | juliensf | Note Added: 0000840 | |
2015-07-10 14:15 | sebgod | Note Added: 0000841 | |
2015-07-10 14:16 | sebgod | File Added: fix-java-jar-index.diff | |
2015-07-10 14:16 | sebgod | File Added: fix-java-jar-index.log | |
2015-11-02 13:30 | juliensf | Assigned To | => juliensf |
2015-11-02 13:30 | juliensf | Status | new => assigned |
2015-11-02 13:30 | juliensf | Target Version | => 15.11 |
2015-12-14 10:27 | juliensf | Issue cloned: 0000399 | |
2015-12-14 10:31 | juliensf | Note Added: 0000871 | |
2015-12-14 10:31 | juliensf | Status | assigned => resolved |
2015-12-14 10:31 | juliensf | Resolution | open => fixed |