Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

fchmod(2) OSS System Calls Reference Manual
Miscellaneous topics: acl(5).
STANDARDS CONFORMANCE
The POSIX standards leave some features to the implementing vendor to define. These features
are affected in the HP implementation:
To change file-access permissions, either the process must have the same effective user
ID as the owner of the file or the process must have an effective user ID of the super ID.
A call to the fchmod() function has no effect on the file descriptor for a file that is open
at the time of the call. However, new openers of the file are authenticated by using the
new access permissions that were specified in the call.
The errors [EINTR] and [EINVAL] can be detected.
HP extensions to the XPG4 Version 2 specification are:
To change the file access permissions of a file or directory, the effective user ID of the
process must match the super ID or the owner of the file, or the effective user ID or one
of the group afliations for the process must qualify the process for membership in the
Safeguard SECURITY-OSS-ADMINISTRATOR group.
The errno values [EIO], [EFSBAD], [ENOROOT], and [EOSSNOTRUNNING] can be
returned.
36 Hewlett-Packard Company 527186-023