in reply to invoking umask command in perl
As I understand it, umask is a built-in command in bash (I don't know about other shells). Not only that, but it only operates for the process that the shell is running in (I don't know about its descendents). So even if you do execute it, it will only affect the process that ends when the command returns to you.
You probably want to use the perl umask function (see umask documentation under perldoc perlfunc).
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: invoking umask command in perl
by austin43 (Acolyte) on Jun 01, 2011 at 18:14 UTC | |
by roboticus (Chancellor) on Jun 02, 2011 at 03:37 UTC |