Quote:
Originally Posted by khunphet
message received after creating a FoxProW application and attempting to open it, which not possible due this error message: "Cannot write to a read-only file."
|
You wrote the app so you should write it to report the file that it can't write.
Quote:
Originally Posted by khunphet
I am wondering if Linux has a clever tool for working with file attributes. I am hoping that there might be a way to search all the files in a particular directory or folder for any files which are presently marked as "read-only".
|
This isn't a matter of attribute, but permission.
Files are readable, writable, and/or executable. 'read-only' isn't a permission (or an attribute), 'writable' is.
returns the permissions of files in a directory, in the first 10 characters. The 9th is user writability
Quote:
Originally Posted by khunphet
there may be a way to search for files that presently have the "+R" (i.e. the read-only attribute) so that I can change it.
|
You don't want to make every file writable, only the ones your app needs to write.