Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Need help with script to create directories

by dakkar (Hermit)
on Jun 21, 2004 at 08:08 UTC ( #368386=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Need help with script to create directories
in thread Need help with script to create directories

From perldoc -f mkdir:

mkdir FILENAME,MASK
   Creates the directory specified by FILENAME, with permissions
   specified by MASK (as modified by "umask").

This means that, even if you specify 0777 as MASK, the actual permissions of the directory will be 0777 & umask. You can set the umask with the function of the same name in Perl or in the shell.

-- 
        dakkar - Mobilis in mobile

Most of my code is tested...

Perl is strongly typed, it just has very few types (Dan)


Comment on Re^3: Need help with script to create directories

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://368386]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2014-07-24 06:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (158 votes), past polls