United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6216563 Need capability to manipulate more file access attributes in File class
6216563 : Need capability to manipulate more file access attributes in File class

Details
Type:
Enhancement
Submit Date:
2005-01-12
Status:
Resolved
Updated Date:
2010-04-02
Project Name:
JDK
Resolved Date:
2005-09-04
Component:
core-libs
OS:
other
Sub-Component:
java.io
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
5.0
Fixed Versions:
6

Related Reports

Sub Tasks

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();
                                     
2005-08-05



Hardware and Software, Engineered to Work Together