Bug 955794 - Wrong (read disabled) permissions on some files
Summary: Wrong (read disabled) permissions on some files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.8.0-openjdk
Version: rawhide
Hardware: i686
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Omair Majid
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-23 21:11 UTC by Anton Guda
Modified: 2013-06-01 03:11 UTC (History)
2 users (show)

Fixed In Version: java-1.8.0-openjdk-1.8.0.0-0.7.b89.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-26 08:28:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Anton Guda 2013-04-23 21:11:29 UTC
Description of problem:
New java-1.8.0 have some files with permissions 600.
This makes java unusable by ordinary users.


Version-Release number of selected component (if applicable):
java-1.8.0-openjdk-1.8.0.0-0.4.b79

How reproducible:
Always.


Steps to Reproduce:
1. java
2. ls -l /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.0/jre/lib/ext
  
Actual results:
1. fails with: Caused by: java.io.FileNotFoundException: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.0/jre/lib/ext/localedata.jar (Permission denied)
2. 
-rw------- 1 root root 3532951 Apr 23 18:34 cldrdata.jar
-rw------- 1 root root    8293 Apr 23 18:34 dnsns.jar
-rw------- 1 root root 1118112 Apr 23 18:34 localedata.jar
-rw-r--r-- 1 root root     485 Apr 23 18:34 meta-index
-rw------- 1 root root   35946 Apr 23 18:34 sunec.jar
-rw------- 1 root root  259970 Apr 23 18:34 sunjce_provider.jar
-rw------- 1 root root  234687 Apr 23 18:34 sunpkcs11.jar
-rw------- 1 root root   68555 Apr 23 18:34 zipfs.jar

And many other files w/o read permission.


Expected results:
Java works, permissions is like 644.


Additional info:

Comment 1 Fedora Update System 2013-05-21 16:03:15 UTC
java-1.8.0-openjdk-1.8.0.0-0.7.b89.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/java-1.8.0-openjdk-1.8.0.0-0.7.b89.fc19

Comment 2 Fedora Update System 2013-05-22 22:38:12 UTC
Package java-1.8.0-openjdk-1.8.0.0-0.7.b89.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing java-1.8.0-openjdk-1.8.0.0-0.7.b89.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-8859/java-1.8.0-openjdk-1.8.0.0-0.7.b89.fc19
then log in and leave karma (feedback).

Comment 3 Anton Guda 2013-05-26 08:28:06 UTC
Realy fixed in java-1.8.0-openjdk-1.8.0.0-0.7.b89.

Comment 4 Fedora Update System 2013-06-01 03:11:18 UTC
java-1.8.0-openjdk-1.8.0.0-0.7.b89.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.