Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: File::Path problem

by stephen (Priest)
on Apr 24, 2002 at 17:39 UTC ( #161686=note: print w/replies, xml ) Need Help??


in reply to File::Path problem

The permissions on newly created directories are modified by your umask value. So if you create a new directory (with mkpath or mkdir) with specified permissions of 0777 but with a umask of 022, then the mode of the directory will be 0755.

See umask for how to change your umask value.

stephen

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://161686]
help
Chatterbox?
[Tanktalus]: perldigious: I'm not looking to get rich. I'm looking for interesting work, with good continuity of employment, and maintenance of our current lifestyle. (An improvement wouldn't be bad, either, but that's not a requirement ;) )
erix enjoys the confusion++
[Your Mother]: :P
[Tanktalus]: Without confusion, I'd be out of a job ;)
[Tanktalus]: Already. :D
[Lady_Aleena]: Your Mother, I wish it did have a way to put in a directory to search.
[Your Mother]: Thatís silly. Itís a string op tool.
[Lady_Aleena]: So I guess I'll go argue with File::Find and grep.
[Your Mother]: I would probably use Path::Tiny instead for it's slurp and such.
[Your Mother]: s/it's/its/

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2017-05-23 19:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?