Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Robin Garner <robin.garner@assetservices.com-junk.au>
Subject: Re: OpenVMS: How to default all files creation with fixed file permission?
Date: 1998/07/16	[thread overview]
Message-ID: <35AE031C.71034A1F@assetservices.com-junk.au> (raw)
In-Reply-To: 35ad5745.1935408@news.pacific.net.sg

Kevin Lai wrote:
> 
> I am new to OpenVMS.
> 
> How can I ensure all new file creation default to a fixed file
> permission?
> 
To set default protection for files in a directory, set a default
protection ACL with a command like this:

$ SET SECURITY X.DIR/ACL=(DEFAULT,SYSTEM:RWED,OWNER:RWED,GROUP:RE,W:RE)

Setting default protection for the current process can be done
with 

$ SET PROTECTION=(prot-code)/DEFAULT

and probably with a SET SECURITY command that I've not yet bothered
to learn.

BTW, comp.os.vms is a better place to ask VMS questions.\x1a

-- 
Robin Garner           SMTP:   Robin.Garner at assetservices.com-junk.au
VMS Specialist         "I always fear the worst - after all, there's 
P&O Services            no point in fearing the best, is there ?"



  reply	other threads:[~1998-07-16  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-16  4:00 OpenVMS: How to default all files creation with fixed file permission? Kevin Lai
1998-07-16  4:00 ` Robin Garner [this message]
1998-07-16  4:00 ` Wayne W. Scott
1998-07-16  4:00 ` Joseph Huber
1998-07-16  4:00 ` quodling
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox