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

lchmod(2) OSS System Calls Reference Manual
[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 the pathconf( ) function to obtain the applicable limits.
[ENOENT] One of these conditions exists:
The named le does not exist, or the specied name is an empty string.
The path parameter species a le on a remote HP NonStop 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 node, and communication with the
remote name server has been lost.
[ENOTDIR] A component, other than the last part, of the path parameter is not a directory.
[ENXIO] The leset containing the clients current working directory or root directory is
not mounted.
[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 user ID of the owner of the le, or the
owner does not have appropriate privileges.
[EROFS] The named le resides on a read-only leset.
For all other error conditions, errno is set to the appropriate Guardian le-system error number.
For more information about a specic Guardian le-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), getgroups(2), fchmod(2), fchown(2),|
lchown(2), mknod(2), open(2), open64(2), read(2), write(2).
Miscellaneous topics: acl(5).|
48 Hewlett-Packard Company 527186-007