mode setting of created file

David Baird dbaird at rian.uucp
Wed May 24 11:09:31 AEST 1989


This question concerns those of us here who maintain the sun unix
operating system we developers have recently switched to.  We are
by and large new to the environment.  What we need to know is
how to change what default mode settings are given to a file when
created.  currently all users create a file with the mode: -rw-r--r--
we want to change this to: -rw-rw-r--

what command does this.  nothing is referenced to in this regard in
the chmod man page.  so far, this is the only way to change the
mode after creating the file: chmod g+w <filename>

is there a way to avoid that step and have the mode -rw-rw-r--
whenever a file is created?

please email your reply as i do not regularily read this news group.

thanks.
.



More information about the Comp.unix.questions mailing list