[comp.unix.sysv386] Default umask of 077 on SCO Sys V 3.2 and how to change

geoff@ugc.uucp (Geoff Coleman) (06/08/91)

Help
	I have run into a problem with the default umask on SCO
Unix 3.2 being set to 077 rather than the more common 022. Is there
any way to change the sytem wide default for this. 
	The problem I'm having is that files created via BWNFS all
pick up this umask and we want to share files among dos users.

BWNF stands for (Beame and Whiteside NFS for PC's) their "net prot"
is being overwritten by the system default on the SCO box (it works
fine on a SUN 4.1.1 system).

I tried changing CMASK in the config file but this seemed to have no
effect on the default umask.

Thanks for any help

Geoff Coleman

e-mail: geoff@edm.uucp

djm@eng.umd.edu (David J. MacKenzie) (06/08/91)

> 	I have run into a problem with the default umask on SCO
> Unix 3.2 being set to 077 rather than the more common 022. Is there
> any way to change the sytem wide default for this. 

Check /etc/profile and /etc/cshrc -- the distributed versions set the
umask to 077.
--
David J. MacKenzie <djm@eng.umd.edu> <djm@ai.mit.edu>

geoff@ugc.uucp (Geoff Coleman) (06/09/91)

In article <DJM.91Jun8105413@bleen.eng.umd.edu> djm@eng.umd.edu (David J. MacKenzie) writes:
>> 	I have run into a problem with the default umask on SCO
>> Unix 3.2 being set to 077 rather than the more common 022. Is there
>> any way to change the sytem wide default for this. 
>
>Check /etc/profile and /etc/cshrc -- the distributed versions set the
>umask to 077.
>--
>David J. MacKenzie <djm@eng.umd.edu> <djm@ai.mit.edu>

	But his isn't a logged in shell it's an NFS "session". As well If I 
comment out the umask entry in /etc/profile it comes up with a default umask
of 077.


Geoff Coleman