umask 0022 - SGI

This is a discussion on umask 0022 - SGI ; Hi All, What is the meaning of umask 0022 rather than the default 022 ? Does it cause all files by default to be created 7755 i.e with sticky, UID & GID on execution bits set ? Cheers Neil -- ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: umask 0022

  1. umask 0022

    Hi All,

    What is the meaning of umask 0022 rather than the default 022 ?

    Does it cause all files by default to be created 7755 i.e with sticky, UID & GID
    on execution bits set ?

    Cheers

    Neil

    --
    -------------------------------------------------
    Neil Rothwell
    Freelance Mechanical Design Engineer
    E-Mail: neil@rothers.demon.co.uk
    Home Page: http://www.rothers.demon.co.uk
    -------------------------------------------------

  2. Re: umask 0022

    In article <8retovojrqdlsu37aqv0979ua2rah6jl7l@4ax.com>,
    Neil Rothwell wrote:
    :What is the meaning of umask 0022 rather than the default 022 ?

    No difference.


    oes it cause all files by default to be created 7755 i.e with sticky, UID & GID
    n execution bits set ?

    No, umask just does an octal parse on the number and then extracts
    the last 9 bits.
    --
    vi -- think of it as practice for the ROGUE Olympics!

+ Reply to Thread