Re: Umask 077 Question

From: Bill Verzal (BVerzal@KOMATSUNA.COM)
Date: Thu Apr 01 2004 - 10:11:20 EST


You can not create a file with execute bit on.
--------------------------------------------------------

"If everything is coming your way, then you are in the wrong lane"

Bill Verzal
AIX Administrator, Komatsu America
(847) 970-3726 - direct
(847) 970-4184 - fax

             Tony Gallo
             <tony_gallo@THRUW
             AY.STATE.NY.US> To
             Sent by: IBM AIX aix-l@Princeton.EDU
             Discussion List cc
             <aix-l@Princeton.
             EDU> Subject
                                       Umask 077 Question

             04/01/2004 08:58
             AM

             Please respond to
                  IBM AIX
              Discussion List
             <aix-l@Princeton.
                   EDU>

   I'm implementing some security enhancements and I'm having problems
with setting the umask correctly. When I set the umask to 077 and I go
to create files, the permsions come out rw------ (600) instead of 700.
Can anyone explain to me why my default file creation mode is 600 and
why I can't use umask to get a rwx------ default? What can I do to get
the execute bit set?

TIA



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:48 EDT