Open System Services System Calls Reference Manual (G06.28+, H06.05+)

lchown(2) OSS System Calls Reference Manual
ERRORS
If any of these conditions occur, the lchown() function sets errno to the corresponding value:
[EACCES] Search permission is denied on a component of the path parameter.
[EFAULT] The path parameter is an invalid address.
[EFSBAD] The leset catalog for one of the lesets involved in the operation is corrupt.
[EINVAL] The owner or group parameter is out of range.
An attempt was made to change ownership of a Guardian le that is not a disk
le.
[EIO] An input or output error occurred. The device holding the le might be in the
down state, or both processors that provide access to the device might have
failed.
[ELOOP] Too many symbolic links were encountered in translating the path parameter.
[ENAMETOOLONG]
One of these names is too long:
The pathname pointed to by the path parameter
A component of the pathname pointed to by the path parameter
The intermediate result of pathname resolution when a symbolic link is
part of the path parameter
You can call pathconf() function to obtain the applicable limits.
[ENOENT] One of these conditions is true:
The path parameter does not exist.
The path parameter is an empty string.
The path parameter species a le in the Guardian le system (in /G) but
cannot be mapped to a valid Guardian lename.
The path parameter names a symbolic link, but the le to which it refers
does not exist.
The path parameter species a le on a remote node, but communication
with the remote node has been lost.
[ENOROOT] One of these conditions exists:
The root leset of the local node (leset 0) is not in the STARTED state.
The current root leset for the specied le is unavailable. The OSS
name server for the leset might have failed.
The specied le is on a remote HP NonStop node, and communication
with the remote name server has been lost.
412 Hewlett-Packard Company 527186-007