Accessing Files Programmer's Guide (32650-90885)

164 Chapter13
Maintaining File Security
Access Control Definition Security (ACD)
To restore all of the files on tape and copies the ACD attributes of the file to disk, enter
this:
FILE T;DEV=TAPE
RESTORE *T;@;KEEP;SHOW;COPYACD
COPYACD is the default. NOACD prevents the copying of the ACD attributes.
SM and OP can restore any ACD-protected file on the system.
AM can restore any ACD-protected file in the manager's account.
Users can restore any ACD-protected files that they own, provided that they have
Read access to the file and RACD access to the file if ;COPYACD is specified.
Others can restore ACD-protected file for which they have RACD permission,
provided that they have Read access to the file and RACD access to the file if
;COPYACD is specified.
You must have PM access to a PM file in order to store it.
Listing ACDs
Examples
The LISTFILE command with option 4 shows the ACD status of a file in this fashion:
LISTFILE FILEA,4
****************************
FILEA.XX.DESIGN
SYSTEM READ: ANY
SECURITY--WRITE: AC
(ACCT) APPEND: AC
LOCK: AC
EXECUTE: ANY
SYSTEM READ: GU
SECURITY--WRITE: GU
(GROUP) APPEND: GU
LOCK: GU
EXECUTE: GU
SYSTEM READ: ANY FCODE: 0
SECURITY--WRITE: ANY CREATOR: **
(FILE) APPEND: ANY LOCKWORD: **
LOCK: ANY **SECURITY IS ON
EXECUTE: ANY **ACD EXISTS
Command Intrinsic Purpose
LISTFILE Show ACDs for files
SHOWDEV Show ACDs for devices
HPACDINFO Show ACDs for files and devices
HPACDPUT Show ACDs for files and devices