[Info-vax] Default protection question

smithfarm presnypreklad at gmail.com
Sat Nov 6 07:11:12 EDT 2010


I'm studying the OpenVMS v7.3-1 User's Manual.

I think I found a mistake in the manual, so I'm wondering if anyone can 
confirm/deny this.

The introduction to Section 10.4 Default File Protection (first 
sentence) says:

"A new file receives the default UIC-based protection and the default 
access control list (ACL) of its parent directory."

This seemed quite straightforward to me. However, further on, the first 
sentence of 10.4.1 Default UIC Protection says:

"The operating system provides each process with the following UIC-based 
protection: (S:RWED, O:RWED, G:RE, W)"

and goes on to explain how to change this default by putting "SET 
PROTECTION/DEFAULT" in one's LOGIN.COM.

I conducted an experiment where I created a directory with UIC 
protection (S:RWED, O:RWED, G:RWED, W:RWED) and then created a file in 
that directory. The file did not receive the protection of its parent 
directory; it received the default protection for the process, which is 
(S:RWED, O:RWED, G:RE, W).

Can someone help me understand the sentence: "A new file receives the 
default UIC-based protection and the default access control list (ACL) 
of its parent directory."

Is there a separate "default" UIC protection associated with a directory 
that is distinguishable from the default protection of the process? Or 
is there a mistake in the documentation?

Thanks, as always.

Nathan



More information about the Info-vax mailing list