🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.decus
Article #164

VMS file protections

#164
From: Kevin Carosso
Date: Thu, 22 Aug 1985 07:35
31 lines
2278 bytes
In article <993@sphinx.UChicago.UUCP> pwyc@sphinx.UChicago.UUCP (Peter Chen) writes:
>I want to make all my data files readable to the world (in VMS), so I do a
>SET PROTECTION (W:R) *.DAT;* (don't have the manual in front of me, so I
>could be off on the syntax), and it works fine; but the protection seems
>to apply only to .DAT files existing at the time the command is executed.
>Newer files, even newer versions of existing files, seem to lose this
>protection. Does anyone know how to circumvent this problem?

This was a problem under VMS version 3 (and earlier).  Newly created files
are always given your default process protection mask (set this with
SET PROT=(whatever-you-want)/DEFAULT) if you don't specify the prot
when you create the file (this is easier in some languages than others).

Due to popular demand, the behaviour was changed in version 4.  Newly
created files now inherit their protections in the following order:

1) The protection mask specified in the file open.
2) The default prot mask in the access control list of the parent directory.
3) The protection mask of the previous version of the file (what you want!).
4) The protection mask of the parent directory.
5) Your process' default protection mask.

The version 3 mechanism is similar to this, but has only entries number
1 and 5.  Also, I may be confused on the order of 2 and 3, they may be
swapped.

Version 4 has been out since the beginning of this year.  Your system
should be running it by now, but maybe not.

	/Kevin Carosso     {allegra|ihnp4|seismo}!scgvaxd!engvax!kvc
	 Hughes Aircraft Co.
Technical Details
Message-ID: <385@scgvaxd.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!sdcrdcf!trwrb!scgvaxd!kvc
References: <993@sphinx.UChicago.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/5/84; site scgvaxd.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!sdcrdcf!trwrb!scgvaxd!kvc
From: kvc@scgvaxd.UUCP (Kevin Carosso)
Newsgroups: net.decus
Subject: VMS file protections
Message-ID: <385@scgvaxd.UUCP>
Date: Thu, 22-Aug-85 03:35:26 EDT
Article-I.D.: scgvaxd.385
Posted: Thu Aug 22 03:35:26 1985
Date-Received: Sun, 25-Aug-85 13:26:32 EDT
References: <993@sphinx.UChicago.UUCP>
Reply-To: kvc@scgvaxd.UUCP (Kevin Carosso)
Organization: Hughes Aircraft Co., El Segundo, CA
Lines: 31