The first of the 4 digits is for special permissions, like SUID, GUID and
the sticky bit..   If not specified - it's 0.

Scott Rohling

On Tue, Sep 25, 2012 at 8:22 AM, Smith, Ann (CTO Service Delivery) <
[email protected]> wrote:

> I notice on SLES10 that the umask command displays umask as 4 digits.
>
> Yet in /etc/profile I see a 3 digit value.
>
> Customers code 3 digit values in their .profile files.
>
> Coding umask 077 or umask 0077 seems to produce the same results.
>
> Is there any meaning to the fourth (really first) digit displayed by the
> umask command?
>
> Annie Smith
> ************************************************************
> This communication, including attachments, is for the exclusive use of
> addressee and may contain proprietary, confidential and/or privileged
> information.  If you are not the intended recipient, any use, copying,
> disclosure, dissemination or distribution is strictly prohibited.  If you
> are not the intended recipient, please notify the sender immediately by
> return e-mail, delete this communication and destroy all copies.
> ************************************************************
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to