Technical data
Using Files and Directories
10.4 Getting File Information
Effective: <None specified>
Recording: <None specified>
File organization: Sequential
Shelved state: Shelved
File attributes: Allocation: 36, Extend: 36, Global buffer count: 0
No version limit
Record format: Variable length, maximum 255 bytes
Record attributes: Carriage return carriage control
Journaling Enabled : None
File protection: System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List: None
Total of 1 file, 36/36 blocks.
Grand total of 2 directories, 2 files, 72/72 blocks.
The DIRECTORY command in this example displays a full directory listing of
one version of the AVERAGE.EXE file in the top-level directory [MALCOLM]
and subdirectories under it.
10.5 Protecting Files
The following sections discuss file protection concepts and explain how to perform
these tasks:
Task Section
Display file ownership and protection Section 10.5.2
Protect disk files Section 10.5.3
Protect disk directories Section 10.5.4
Protect magnetic tape files Section 10.5.5
10.5.1 Understanding File Protection Concepts
You can protect data on disk and magnetic tape media at the following levels:
Level of Protection Description
Device level For information about setting device protection characteristics, see
the descriptions of the DCL commands INITIALIZE, MOUNT, SET
DEVICES, SET SECURITY/PROTECTION, and SET VOLUME in
Chapter 9 and in the OpenVMS DCL Dictionary. Refer to Chapter 8
for additional information about peripheral devices.
Volume level The system provides protection for disk and tape volumes. For more
information, see the following sections:
Disk volume protection Section 9.4.1
Tape volume protection Section 9.4.2
File level The system provides protection for disk files and directory files. For
more information, see the following sections:
Individual disk files Section 10.5.3
Directory files that reside on disk
volumes
Section 10.5.4
You can protect data residing on disk and tape volumes by using one or more of
the following methods:
Using Files and Directories 10–13










