Bug 955794

Summary: Wrong (read disabled) permissions on some files
Product: [Fedora] Fedora Reporter: Anton Guda <atu.guda>
Component: java-1.8.0-openjdkAssignee: Omair Majid <omajid>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: dbhole, omajid
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: java-1.8.0-openjdk-1.8.0.0-0.7.b89.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-26 08:28:06 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:

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.