[comp.unix.questions] mode setting of created file

dbaird@rian.uucp (David Baird) (05/24/89)

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.
.

maart@cs.vu.nl (Maarten Litmaath) (05/25/89)

dbaird@rian.uucp (David Baird) writes:
\... 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--

This is a joke, right?
I mean, everybody knows what UNIX stands for, right?

	Umask Not Implemented eXplicably
-- 
 "`Goto considered harmful' considered |Maarten Litmaath @ VU Amsterdam:
      harmful" considered harmful!     |maart@cs.vu.nl, mcvax!botter!maart