Safeguard Reference Manual (G06.24+, H06.03+ )

Disk-File Security Commands
Safeguard Reference Manual520618-013
8-20
ALTER DISKFILE Command
primary partition but does not prevent the secondary partitions from being opened
individually.
Examples
1. To add a protection record that describes all production data base files that reside
on $DATA with subvolume names that begin with PROD:
ADD DISKFILE-PATTERN $DATA.PROD*.*, &
ACCESS PROD.* (R,W)
2. To add a diskfile pattern for all files in subvolume $A.B
ADD DISKFILE-PATTERN $A.B.*, ACCESS *.* (R,W)
3. To add a diskfile-pattern protection record for every disk file named FILE followed
by one alphanumeric character that is in a subvolume REPORT on every volume
beginning with $DATA:
ADD DISKFILE-PATTERN $DATA*.REPORT.FILE?
ALTER DISKFILE Command
ALTER DISKFILE changes one or more disk file attribute values in an existing disk file
authorization record. The primary owner of a disk file, the primary owner’s group
manager, the local super ID, and any user with OWNER authority on the ACL can
change a disk file authorization record.
Except for the ACCESS attribute, new attribute values specified in an ALTER
DISKFILE command replace the existing attribute value with the specified value. Using
ALTER DISKFILE to specify a new ACCESS access-spec adds the new access-
spec to the existing ACL. To remove authorities previously granted to users, use the
minus-sign (-) form of access-spec.
DISKFILE
specifies DISKFILE as the object type of the ALTER command. Omit it if DISKFILE
is the assumed object type. (For more information on assumed object types, see
the ASSUME Command on page 4-3.)
filename-list
specifies one or more disk files whose existing disk-file-attributes are to
be changed. All disk files specified must already have Safeguard authorization
records (created with the ADD DISKFILE command).
ALTER DISKFILE filename-list [ , ]
{ LIKE disk-file-name | disk-file-attribute }
[ , disk-file-attribute ] ...