From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,54ecae98ccc69267 X-Google-Attributes: gid1164f8,public From: Robin Garner Subject: Re: OpenVMS: How to default all files creation with fixed file permission? Date: 1998/07/16 Message-ID: <35AE031C.71034A1F@assetservices.com-junk.au>#1/1 X-Deja-AN: 371899570 Content-Transfer-Encoding: 7bit References: <35ad5745.1935408@news.pacific.net.sg> Content-Type: text/plain; charset=us-ascii Organization: Asset Services Mime-Version: 1.0 Newsgroups: comp.sys.dec 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. -- 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 ?"