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

System Functions (a - d) chown(2)
[ENOENT] One of these is true:
The path parameter does not exist.
The path parameter is an empty string.
The path parameter specifies a file in the Guardian file system (in /G) but
cannot be mapped to a valid Guardian filename.
The path parameter names a symbolic link, but the file to which it refers
does not exist.
The path parameter specifies a file on a remote HP NonStop node, but
communication with the remote node has been lost.
[ENOTSUP] The path parameter specifies a Guardian file on an SMF logical volume and one
of the following conditions exists:
The local system is running an RVU prior to J06.15 or H06.26.
The path parameter specifies a file in /E and the remote system is run-
ning an RVU prior to J06.15 or H06.26.
[ENOROOT] One of these conditions exists:
The root fileset of the local node (fileset 0) is not in the STARTED state.
The current root fileset for the specified file is unavailable. The OSS
name server for the fileset might have failed.
The specified file is on a remote HP NonStop node, and communication
with the remote name server has been lost.
[ENOTDIR] A component of path is not a directory.
[ENXIO] The fileset containing the client’s 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] One of the following conditions exist:
The calling process does not have appropriate privileges.
The program attempted an operation on a SEEP-protected fileset. Valid
for J06.15 and later J-series RVUs, and H06.26 and later H-series RVUs.
[EROFS] The named file resides on a read-only fileset.
For all other error conditions, errno is set to the appropriate Guardian file-system error number.
See the Guardian Procedure Errors and Messages Manual for more information about a specific
Guardian file-system error.
527186-023 Hewlett-Packard Company 129