Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
File type and file mode values z/OS Security Server RACF Callable Services SA23-2293-00 |
|
Programming interface information A mode value is input to z/OS UNIX chmod, open, creat, mkdir, and umask, and output by z/OS UNIX stat and fstat. The mode value is defined as a mode_t data type and consists of a one-byte file type and three bytes for the file modes. The file mode specifies the permission bits and the S_ISUID, S_ISGID, and S_ISVTX bits for a file. End Programming interface information Programming interface information The z/OS UNIX macro
BPXYMODE defines the mode_t values as:
End Programming interface information Programming interface information The system call services pass the mode parameter from the caller of the system call to the RACF® callable service or from the RACF callable service to the caller of the system call. The system call service can change the file type but does not change the file mode bits. End Programming interface information Programming interface information Some RACF callable services test the file type to determine if the file is a directory. The makeFSP service sets the file type to "directory" if the file is a directory and sets it to zero otherwise. End Programming interface information |
Copyright IBM Corporation 1990, 2014
|