-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
6
-
generic
-
generic, solaris
How to reproduce the problem:
1. Install JDK 1.6.0 B61
2. Go to <JDK_HOME>/demo/jfc/Notepad
3. Invoke Notepad.jar in the directory with the command, "<JDK_HOME>/bin/java -jar Notepad.jar
4. In the application, open any file which has no write permission. Like the following: -r--r--r-- 1 root root 8564 Nov 30 12:25 applets.html
(For testing purpose, you can modify a file to read only)
5. In the application, modify the content of the file. Save and modify the file which has no write permission, although, ideally you should not be able to do it.
1. Install JDK 1.6.0 B61
2. Go to <JDK_HOME>/demo/jfc/Notepad
3. Invoke Notepad.jar in the directory with the command, "<JDK_HOME>/bin/java -jar Notepad.jar
4. In the application, open any file which has no write permission. Like the following: -r--r--r-- 1 root root 8564 Nov 30 12:25 applets.html
(For testing purpose, you can modify a file to read only)
5. In the application, modify the content of the file. Save and modify the file which has no write permission, although, ideally you should not be able to do it.
- duplicates
-
JDK-6357261 should not be able to save files in demo/jfc/Stylepad if permission deny
-
- Closed
-