MPE/iX Shell and Utilities Reference Manual, Vol 1

chmod(1) MPE/iX Shell and Utilities chmod(1)
DIAGNOSTICS
Possible exit status values are:
0 Successful completion.
1 Failure due to any of the following:
— unable to access a specified file
— unable to change the modes on a specified file
— unable to read the directory containing item to change
— encountered a fatal error when using the –R option
2 Failure due to any of the following:
— missing or invalid mode argument
— too few arguments.
Messages
Message: fatal error during "-R" option
Cause: You specified the –R option but some file or directory in the directory structure
was inaccessible.
Action: Check all files in the directory structure to make sure that you have access to
them.
Message: file "filename": system error
Cause: See syserror(3).
Action: See syserror(3).
Message: Insufficient memory
Cause: There were not enough free system resources to perform the specified operation.
Action: Free up more resources.
Message: Missing mode argument.
Cause: You did not specify an argument represent the new access permissions.
Action: Provide the missing argument.
Message: read directory "pathname": system error
Cause: See syserror(3).
Action: See syserror(3).
Message: stat file "filename": system error
Cause: See syserror(3).
Action: See syserror(3).
1-90 Commands and Utilities