07-11-07 06:22 PM
Barry Margolin wrote:
> Actually, it's not even clear to me that any of the error conditions
> mentioned in EACCESS apply. Does a read-only file system imply that you
> don't have write permission to the directories residing on it? Or do
> "permissions" refer specifically to the permission mode bits?
The rules for file access permissions are defined in XBD section 4.4.
If the file has write permission according to the normal permission
bits, I think an implementor could still justify returning EACCES by
claiming that the system has an "additional file access control
mechanism" whereby write permission is not granted for files on
read-only file systems.
--
Geoff Clare <netnews@gclare.org.uk>
[ Post a follow-up to this message ]
|