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: huber@vms.mppmu.mpg.de (Joseph Huber) Subject: RE: OpenVMS: How to default all files creation with fixed file permission? Date: 1998/07/16 Message-ID: <6ok7sh$ov8$1@kiosk.rzg.mpg.de>#1/1 X-Deja-AN: 371939250 References: <35ad5745.1935408@news.pacific.net.sg> Organization: MPI Physik,Muenchen Newsgroups: comp.sys.dec In Article <35ad5745.1935408@news.pacific.net.sg> netsurfer@sentosa.singaporemail.com (Kevin Lai) writes: >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). The PROCESS creating the file must have the /DEFAULT protection set so: SET PROTECTION=(G:RWED)/DEFAULT (or set the protection via RMS calls from the program). In general, a better approach to sharing files is to use resource identifier ( see HELP ADD /ident in authorize), and set a default ACL on the DIRECTORY file, granting access for the holders of that identifier. -- Joseph "Sepp" Huber, Max-Planck-Institut Physik,Muenchen, Tel. +49 89 32354-344 At Cern (Atlas) Tel. +41 22 767-9879/-6820 E-mail: huber@mppmu.mpg.de | http://wwwvms.mppmu.mpg.de/~huber