in reply to Does changing 'umask' change the system's default value?
First, it's not "unmask", it's umask (no N). You can read more about the Perl version here.
As to your direct question, the umask is set on a per-process basis. There's no "system umask", only what is set by your administrator in user startup files. If you set the umask, it will affect all files (and hence directories) created after that point by that process. In systems I know, the umask is inherited by child processes, but I'm not sure if that's true of all Unix-oid systems or not. It's certainly not true of Win32 systems, and I can't really speak to how it's implemented there.
HTH
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Does changing 'umask' change the system's default value?
by newbie00 (Beadle) on Dec 25, 2001 at 01:41 UTC | |
by VSarkiss (Monsignor) on Dec 25, 2001 at 02:18 UTC | |
by newbie00 (Beadle) on Dec 25, 2001 at 02:41 UTC |