readOnly

Type: Boolean

The readOnly property of the FileNode class specifies if the read only flag is set. The default value for file creation is false; that is, files can be written to or they can be read.

This property applies only when the file exists.