Open System Services System Calls Reference Manual (G06.28+, H06.05+)
System Functions (f - i) fchmod(2)
• The specified file is on a remote node, and communication with the
remote name server has been lost.
[EOSSNOTRUNNING]
The program attempted an operation on an object in the OSS environment while
a required system process was not running.
[EPERM] The effective user ID does not match the ID of the owner of the file, and the cal-
ling process does not have super ID privilege.
[EROFS] The file referred to by filedes resides on a read-only fileset.
For all other error conditions, errno is set to the appropriate Guardian file-system error number.
For more information about a specific Guardian file-system error, see the Guardian Procedure
Errors and Messages Manual.
RELATED INFORMATION
Commands: chmod(1), getacl(1), setacl(1).|
Functions: acl(2), chmod(2), chown(2), fcntl(2), fchown(2), getgroups(2), lchmod(2),|
lchown(2), mknod(2), open(2), open64(2), read(2), write(2).
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 affiliations 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.
527186-007 Hewlett-Packard Company 3−5