Technical data

Managing Storage Media
9.4 Protecting Volumes
You can also specify protection when you mount disk volumes, but you
ordinarily do not do so because the protection that you specify is in effect
only while the volume is mounted. For details, refer to the Mount utility
(MOUNT) in the OpenVMS System Management Utilities Reference Manual.
Use the DCL command SET VOLUME after you mount a volume to change
UIC-based volume protection.
The following sections explain how to perform these tasks:
Task Section
Specify protection when you initialize volumes Section 9.4.1.1
Change protection after volumes are mounted Section 9.4.1.2
Display protection Section 9.4.1.3
9.4.1.1 Specifying Protection When You Initialize Disk Volumes
This section explains how to specify UIC-based volume protection and ISO
9660-formatted media protection when you initialize volumes.
Specifying UIC-Based Protection
You can specify protection in one of the following ways when you initialize
volumes:
Use the /PROTECTION qualifier with the INITIALIZE command. For
example:
$ INITIALIZE DUA7: ACCOUNT1/PROTECTION=(S:RWCD,O:RWCD,G:R,W:R)
This example specifies a protection code for the disk volume ACCOUNT1 on
the DUA7: device. The UIC of the volume is set to your process UIC.
Use one or more of the qualifiers shown in Table 9–10 with the INITIALIZE
command. However, the protection that you set using the /PROTECTION
qualifier overrides any of the defaults set when you use any other qualifier.
Using INITIALIZE Command Qualiers for Protection
You usually do not change volume protection after you initialize a volume.
By specifying a protection qualifier with the INITIALIZE command, you can
establish the default protection of a volume. (The default qualifier of the
INITIALIZE command is /SHARE, which grants all types of ownership all
types of access.)
Table 9–10 explains the qualifiers you can use to specify disk volume
protection when you initialize disk volumes.
Table 910 INITIALIZE Command Qualiers for Protection
Qualier Explanation
/PROTECTION The protection you specify with this qualifier overrides any
protection you specify with other qualifiers.
/SYSTEM All processes have read, write, create, and delete access to the
volume, but only system processes can create first-level directories.
([1,1] owns the volume.) See the note following this table.
(continued on next page)
Managing Storage Media 923