HP 9000 200 Series Manual page 108

Using the basic 5.0/5.1 system
Table of Contents

Advertisement

2. Remove all public access capabilities from the file ASCII_1 by assigning the password
no_pub, using:
PROTECT "CHARLIE/ASCIL1" , ("no_pub":MANAGER,WRITE,READ)
or
MSI "CHARLIE"
PROTECT "ASCII_1",("no_pub":MANAGER,WRITE,READ)
These statements assume you are in the directory Proj ect_one. The second sequence
of statements makes CHARLIE the new working directory. whereas in the first. you
merely "pass through" CHARLIE to reach ASCII_1. vVith the READ access capability
on CHARLIE still public, you do not need a password.
3. Protect the file BDAT_l so data can be read from it but not written into it without
using the password write. If th(' current working directory wer(' CHARLIE. you would
type:
PROTECT "BDAT_1", ("write" : MANAGER ,WRITE)
4. Protect the MANAGER access capability of the directory MEMOS with the password,
mgr _pass (so that everyone can read from and write to the directory, but a password
is required to purge the directory or its contents) by typing:
PROTECT "MEMOS", ("mgr_pass":MANAGER)
If you protected the files and directory in CHARLIE as in the steps above, a catalog listing
of CHARLIE would look something like this:
PROJECTS/Project_one/CHARLIE:REMOTE 21, 0
LABEL:
Disc1
FORMAT:
SDF
AVAILABLE SPACE:
54096
SYS
FILE
NUMBER
RECORD
MODIFIED
PUB
OPEN
FILE NAME
LEV TYPE TYPE RECORDS
LENGTH DATE
TIME ACC
STAT
ASCII_1
BDAT_1
MEMOS
1
ASCII
1 98X6
BDAT
1
DIR
6
4
o
256
2-Dec-84 13:20
256
2-Dec-84 13:20 R
24
2-Dec-84 13:20 RW
The letters in the column labeled PUB ACC indicate access capabilities that are public (not
protected with a password). For example, only the MANAGER (M) access capability on
the directory MEMOS has been
protected~
leaving the READ (R) and WRITE (w) capabilities
available to any SRM workstation user.
5-30
TJ
sing Din'rtories and
File~

Advertisement

Table of Contents
loading

This manual is also suitable for:

9000 300 series

Table of Contents