SUMMARY(2): Setting correct umask

Ricardo Ferraro G. da Silva (rferraro@ci.rnp.br)
Fri, 16 May 1997 12:11:25 -0300 (EST)

Sorry folks,

I almost forgot 3 contributions:

Ian MacPhedran <Ian_MacPhedran@mackenzie.usask.ca>
"Bullock, Marty" <Marty.Bullock@sea.siemens.com>
AO <cherub@lava.net>

thanks again, Ricardo.

__________________________________________________________________

Date: Thu, 15 May 1997 17:09:05 -0600 (CST)
From: Ian MacPhedran <Ian_MacPhedran@mackenzie.usask.ca>
To: "Ricardo Ferraro G. da Silva" <rferraro@ci.rnp.br>
Subject: Re: Setting correct umask

On Thu, 15 May 1997, Ricardo Ferraro G. da Silva wrote:

> How can I discover the real "default permission", and how can I change
> the actual 666 permission to 777 ?

>From the CSH_BUILTINS(1) man page:
umask [ value ]
Display the file creation mask. With value set
the file creation mask. value is given in octal,
and is XORed with the permissions of 666 for files
and 777 for directories to arrive at the permis-
sions for new files. Common values include 002,
giving complete access to the group, and read (and
directory search) access to others, or 022, giving
read (and directory search) but not write permis-
sion to the group and others.

> Since the actual "default permission" is 666 I cannot automatically
> change it to 755 using umask.

That's correct. As far as I konw, you'll have to add execute bits manually.

Ian.

__________________________________________________________________

Date: Thu, 15 May 1997 19:36:33 -0400
From: "Bullock, Marty" <Marty.Bullock@sea.siemens.com>
To: "'Ricardo Ferraro G. da Silva'"

<IMCEAX400-c=US+3Ba=+20MCI+3Bp=SCN+3Bo=SEA+3Bou1=SEANB+3Bdda+3ASMTP=rferraro+40ci+2Ernp+2Ebr+3Bdda+3AMSXENCAP=SMTP+3B@sea.siemens.com>
Subject: RE: Setting correct umask

Check the umask settings in /etc/default/login. If it is uncommented,
you can comment it out and use only the ones in the .cshrc file -or- you
can set it the way you want it and remove the one from the .cshrc
file(s). C' Ya!

Marty W. Bullock
) Marty.Bullock@sea.siemens.com
____ _ ____ __ __ ____ __ _ ___
/ __/| || ___|| \/ || ___|| \| |/ __/
\__ \| || __| | \ / || __| | \ \ |\__ \
/___/|_||____||_|\/|_||____||_|\__|/___/
Systems Administrator

__________________________________________________________________

Date: Thu, 15 May 1997 13:44:01 -1000
From: AO <cherub@lava.net>
To: "Ricardo Ferraro G. da Silva" <rferraro@ci.rnp.br>
Subject: Re: Setting correct umask

You CANNOT change your umask to create files with "7" on the permissions.

You MUST change the files explicitely to a "7" value yourself via command
line or script.

__________________________________________________________________