SUMMARY: umask for -rwxrwxr-x

From: Maura Ennis (Maura_Ennis@nasx.edu)
Date: Tue Aug 02 1994 - 18:49:45 CDT


Most of the answers that I recieved indicated that umask does not control the
execute bit on files, which certainly seems to be correct. One person
suggested I use the umask of 113, but that yielded -rw-rw-r-- for files and
drw-rw-r-- for directories. I'm sticking with a umask of 002, which yields
-rw-rw-r-- for files and drwxrwxr-x for directories.

My original message is below. Thanks to:

**************************************************************************
kes @ mtb.phil.mop.com (Kes Masalaitis)
rr6204 @ moses.boeing.com (Bob Rutherford 965-0546)
rao @ hobbes.crc.com (Randy Olsson)
davis @ cs.unc.edu (William York Davis)
thorn @ cc.mcgill.ca (Ron Hall)
bartlett @ master.cna.tek.com (Greg 'Tool Meister' Bartlett)
****************************************************************************

I have two users who have asked me to make their default file permissions 775
(-rwxrwxr-x). I thought that setting the umask to 002 would do the trick, but
that yields -rw-rw-r--. What am I missing?

Thanks,

Maura Ennis
National Academy of Sciences
mennis@nas.edu



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:06 CDT