Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 avoiding work at the Monastery: (8)
As of 2014-12-22 04:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (110 votes), past polls