in reply to Re: Re: Does changing 'umask' change the system's default value?
in thread Does changing 'umask' change the system's default value?

Per-process means a single invocation of a program (or script). In other words, once you change it, it will affect files created after that point by that program, and (possibly) child processes created by that program. It will not affect any other programs or users, nor will it be remembered after the program ends.

HTH

  • Comment on Re (3): Does changing 'unmask' change the system's default value?

Replies are listed 'Best First'.
Re: Re (3): Does changing 'umask' change the system's default value?
by newbie00 (Beadle) on Dec 25, 2001 at 02:41 UTC
    Thanks again for your reply.

    Will the directory be created with the mode that is specified in 'mkdir' or must 'umask' be included first? I guess what I am also asking is, should 'umask' be used when its value is to be different in the 'mode' of 'mkdir' or can the 'mode' in 'mkdir' standalone and control the directory's permission without 'umask' being explicitly set?

    Again, thank you.
    --newbie00