use File::Path;
my $newdir = "testdirectory";
mkpath(["$newdir"]);

According to the File::Path description, creating a directory should set 
its permissions to 777 per default.
However, I find that the above code creates "testdirectory" with 755.
Even if I set permissions to 777, using the following code, it doesn't 
work:

mkpath(["$newdir"], 0, 0777);

Any explanations?

Birgit Kellner

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to