home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: bitbug@netcom.com (James Buster)
-
- Moderator!: Delete most of these lines (begin):
-
- In IEEE Posix Std. 1003.1 (ISO/IEC 9945-1) states, under the definition
- of utime() (Pages 108-110):
-
- "If the _times_ argument is not NULL, it is interpreted as a
- pointer to a utimbuf structure, and the access and modification
- times are set to the values contained in the designated structure.
- Only the owner of the file and processes with appropriate
- privileges shall be permitted to use the utime() function in
- this way."
-
- Later, in the Errors section:
-
- [EPERM] The _times_ argument is not NULL, the effective user ID of the
- calling process has write access to the file, but does not
- match the owner of the file, and the calling process does not
- have the appropriate privileges.
-
- Here is my question: Why mention write access in the EPERM description?
- Clearly, as described above, if _times_ isn't NULL, write access is not
- considered when determining whether to grant a successful call to utime().
- I can only conclude that mentioning write access is an error on the part
- of the drafters of this document. Any Posix experts care to comment?
- --
- James Buster
- bitbug@netcom.com
-
-
- Volume-Number: Volume 27, Number 90
-
-