Example 1:
$ SET ACL/ACL=(IDENTIFIER=CDD$SYSTEM, -
_$ ACCESS=READ+WRITE+EXECUTE+DELETE+CONTROL) [SMITH]DIC.DIR(1)
$ SET ACL/ACL=(IDENTIFIER=[*,*],ACCESS=READ) [SMITH]DIC.DIR(1)
Protect your repository anchor directory with an ACL containing
the ACEs shown in the previous example. With these ACEs, only
repository files can be created in a repository anchor directory.
In this example, the SET ACL/ACL command, creates an ACL for the
OpenVMS anchor directory of the [SMITH.DIC] repository:
Example 2:
$ SET ACL/EDIT [SMITH]DIC.DIR(1)
$ EDIT/ACL [SMITH]DIC.DIR(1)
You might find it easier to use the ACL Editor to create an
ACL for an OpenVMS anchor directory by using either one of the
following DCL commands:
Example 3:
$ SHOW ACL [SMITH]DIC.DIR(1)
element type: file, element name: CDD$DISK:[SMITH]DIC.DIR(1),
on 27-FEB-1989 09:54:40.62
(IDENTIFIER=CDD$SYSTEM,ACCESS=READ+WRITE+EXECUTE+DELETE+CONTROL)
(IDENTIFIER=[*,*],ACCESS=READ)
To display the ACL you just created, use the DCL SHOW ACL
command:
Example 4:
$ SET PROTECTION=(S:RWED,,,) [SMITH]DIC.DIR(1)
You should also add UIC-based protection to your repository's
OpenVMS anchor directory. In this example, the DCL SET PROTECTION
command creates UIC-based protection for the OpenVMS anchor
directory [SMITH.DIC].