in reply to More permanent umask ?
You mentioned "umask command", so I'm guessing you tried something like:
This won't work, because the umask is a per-process value. You've just changed the umask in a child shell, not in your Perl process, where it would actually matter.system "umask 002";
What you want is the Perl built-in umask operator:
That should affect your current process umask.umask 002;
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|