Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: umask with 0666

by almut (Canon)
on Aug 04, 2010 at 12:14 UTC ( #852863=note: print w/replies, xml ) Need Help??


in reply to umask with 0666

is there a better way of doing this?

You might store the current/previous umask (as returned by umask), and set it back when done... (in case you're doing other things later in the same proccess where you want the default umask to apply).

(BTW, your default umask likely was 0022 (not 0222), otherwise you'd have gotten 0444.)

Replies are listed 'Best First'.
Re^2: umask with 0666
by fionbarr (Friar) on Aug 04, 2010 at 12:39 UTC
    thanks...yes 0222 was a typo

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://852863]
help
Chatterbox?
[Marshall]: stevieb wish you well with water problems, my water was off all day Monday for repairs. Any more progress on .exe info problem?.
[stevieb]: Marshall: no. I commented on the thread yesterday. Visual Studio updates the tags ok, but corrupts the exe
[stevieb]: I advised the OP that a possible workaround would be to add a version function/flag that displays the required copyright/license info instead
[Marshall]: Darn! I'll look at the thread. Must not be updatinga byte count somewhere. The .exe format is a complex critter.
[stevieb]: that way, it's still "hard coded" into the exe at least, despite not being visible via Properties
[Marshall]: I also looked into PerlApp from Active State, but they don't sell their Dev Kit independent of a very expensive ($1,200) per year license anymore.

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2016-12-08 18:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (144 votes). Check out past polls.