-
Bug
-
Resolution: Fixed
-
P3
-
6u33, 7u5
-
b01
-
b32
-
generic, x86
-
generic, linux_redhat_5.0
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2225622 | 8 | Xueming Shen | P3 | Closed | Fixed | b47 |
JDK-2225623 | 7u6 | Xueming Shen | P3 | Closed | Fixed | b15 |
JDK-2225624 | 6u34 | Mala Bankal | P3 | Closed | Fixed | b03 |
JDK-2226677 | OpenJDK6 | Mala Bankal | P2 | Resolved | Fixed | b26 |
JDK-2227264 | 5.0u38 | Mala Bankal | P3 | Closed | Fixed | b02 |
JDK-2225625 | 5.0u36 | Mala Bankal | P3 | Resolved | Fixed | b32 |
JDK-2228417 | 1.4.2_40 | Mala Bankal | P3 | Closed | Fixed | b02 |
JDK-2225626 | 1.4.2_38 | Mala Bankal | P3 | Resolved | Fixed | b31 |
CONFIGURATION :
JDK : 6u33
OS :RHEL5/Solaris10
REPRODUCE:
1. run "umask 022"
2. run "native2ascii text-file new-file"
You can see the different permission between text-file and new-file.
even if the permission of text-file is 644, that of new-file is 600.
EXAMPLE OPERATION:
-----
jle-esxi-redhat:/home/tbaba 142 % ls -l native.txt
-rw-r--r--+ 1 tbaba javasoft 0 Jun 14 16:42 native.txt
jle-esxi-redhat:/home/tbaba 143 % native2ascii native.txt ascii.txt
jle-esxi-redhat:/home/tbaba 144 % ls -l native.txt ascii.txt
-rw-------+ 1 tbaba javasoft 0 Jun 14 17:03 ascii.txt
-rw-r--r--+ 1 tbaba javasoft 0 Jun 14 16:42 native.txt
jle-esxi-redhat:/home/tbaba 145 % java -version
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode)
jle-esxi-redhat:/home/tbaba 146 %
-----
In jdk6u32, the permission of created new text(ascii) file
is not changed, it is still 644.
-------
jle-esxi-redhat:/home/tbaba 117 % ls -l native.txt
-rw-r--r--+ 1 tbaba javasoft 0 Jun 14 16:42 native.txt
jle-esxi-redhat:/home/tbaba 118 % native2ascii native.txt ascii.txt
jle-esxi-redhat:/home/tbaba 119 % ls -l ascii.txt
-rw-r--r--+ 1 tbaba javasoft 0 Jun 14 17:00 ascii.txt
jle-esxi-redhat:/home/tbaba 120 % java -version
java version "1.6.0_32"
Java(TM) SE Runtime Environment (build 1.6.0_32-b05)
Java HotSpot(TM) 64-Bit Server VM (build 20.7-b02, mixed mode)
jle-esxi-redhat:/home/tbaba 121 %
------
- backported by
-
JDK-2226677 native2ascii changes file permissions of input file
- Resolved
-
JDK-2225625 native2ascii changes file permissions of input file
- Resolved
-
JDK-2225626 native2ascii changes file permissions of input file
- Resolved
-
JDK-2225622 native2ascii changes file permissions of input file
- Closed
-
JDK-2225623 native2ascii changes file permissions of input file
- Closed
-
JDK-2225624 native2ascii changes file permissions of input file
- Closed
-
JDK-2227264 native2ascii changes file permissions of input file
- Closed
-
JDK-2228417 native2ascii changes file permissions of input file
- Closed
- relates to
-
JDK-7175845 "jar uf" changes file permissions unexpectedly
- Closed
-
JDK-7199153 TEST_BUG: try-with-resources syntax pushed to 6-open repo.
- Resolved