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: "Wayne W. Scott" Subject: Re: OpenVMS: How to default all files creation with fixed file permission? Date: 1998/07/16 Message-ID: <35ADBCA6.FFF4DFAD@nac.nYet>#1/1 X-Deja-AN: 371959453 Content-Transfer-Encoding: 7bit References: <35ad5745.1935408@news.pacific.net.sg> Content-Type: text/plain; charset=us-ascii Organization: [@ nac.net, not @nac.nYet ] MIME-Version: 1.0 Reply-To: wscott@nac.net NNTP-Posting-Date: Thu, 16 Jul 1998 04:42:34 EDT Newsgroups: comp.sys.dec I just had to look that up this week. There is a command you can add to the login.com that will take care of this. It's similar to the UNIX umask. I don't have the manuals here at home, but if memory is right -- $set prot=(s:rewd,o:rewd,g:re,w:re) /default It's in section 4 of the OpenVMS Users' Manual. Wayne ===== Kevin Lai wrote: > I am new to OpenVMS. > > How can I ensure all new file creation default to a fixed file > permission? > > Currently, I had users of same Group creating files to certain > directories, but there are some files which will be accessed by others > and need to be modified. > > But due to the permission of the file created, the users of the same > group still unable to modify or overwrite. > > I tried setting permission of the directories to /PROT=(G:RWED) but > still files are created with (G:RE). > > Can anyone help? -- [wscott@nac.nYet -> if you're not a spammer, edit the 'Y' to reply!]