-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b116
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2200204 | 6u23 | Vladislav Karnaukhov | P3 | Resolved | Fixed | b02 |
JDK-2199469 | 6u22-rev | Vladislav Karnaukhov | P3 | Closed | Fixed | b05 |
JDK-2197766 | 6u21-rev | Vladislav Karnaukhov | P3 | Resolved | Fixed | b11 |
File's setReadOnly method [Also setWritable(false)] does not make a directory read-only on Windows. Instead, it sets the DOS readonly attribute that prevents the directory from being deleted.
This method should be investigated to see if the following are feasible:
1. Have these methods return false for directories (meaning they cannot make the directory readonly)
2. Have the method insert a deny entry at the top of the DACL to deny write access.
This method should be investigated to see if the following are feasible:
1. Have these methods return false for directories (meaning they cannot make the directory readonly)
2. Have the method insert a deny entry at the top of the DACL to deny write access.
- backported by
-
JDK-2197766 File.setReadOnly does not make a directory read-only (win)
- Resolved
-
JDK-2200204 File.setReadOnly does not make a directory read-only (win)
- Resolved
-
JDK-2199469 File.setReadOnly does not make a directory read-only (win)
- Closed
- relates to
-
JDK-7098404 File.setWritable() / File.canWrite() not behaving as expected
- Closed
-
JDK-4939819 File.canWrite() returns false for the "My Documents" directory (win)
- Closed
-
JDK-2189716 File.canWrite() returns false for the "My Documents" directory (win)
- Closed
(1 relates to)