JDK-6216563 : Need capability to manipulate more file access attributes in File class
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: other
  • CPU: x86
  • Submitted: 2005-01-12
  • Updated: 2017-05-16
  • Resolved: 2005-09-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b51Fixed
Description
Some applications need to toggle file readonly flag. Currently it's not supported by Java APIs. There is missing reverse operation to File.setReadOnly.

My application is source versioning system client.
###@###.### 2005-1-12 09:47:20 GMT

Comments
EVALUATION Adding following methods in Mustang setWritable(boolean writable, boolean ownerOnly); setReadable(boolean readable, boolean ownerOnly) setExecutable(boolean executable, boolean ownerOnly); setExecutable(boolean executable); setReadable(boolean readable); setWritable(boolean writable); canExecute();
05-08-2005