AUTH
AUTH authorizes access to RFS directories.
Operands
- dirid
- specifies a REXX File System directory identifier. This is partially or fully qualified. See the CD command, CD, for more information.
- PRIVATE
- specifies that only the owner of the directory has read/write access to the files. This is the default.
- PUBLICR
- specifies that any user has read-only access to the files in the directory.
- PUBLICW
- specifies that any user has read/write access to the files in the directory.
- SECURED
- specifies that an external security manager grants access to the files in the directory.
Return codes
See the RFS command RFS.
Example
'RFS AUTH POOL1:\USERS\USER1\DOCS PUBLICR'This example makes directory DOCS a public directory. All users have read/only access to the files in directory DOCS.
