I don't really know the answer to that question, but AFAIK the umasks
are octal numbers,
and in the programming language C each number that starts with a leading
zero is supposed
to be an octal number - which may lead to some confusion, as the value

0123

doesn't mean 123 at all, but - wait -

83

1 times 64 + 2 times 8 + 3

so maybe the leading zero is there to show that the umask is an octal
number??

Kind regards

Bernd



Am 25.09.2012 17:22, schrieb Smith, Ann (CTO Service Delivery):
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


----------------------------------------------------------------------
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