> -----Original Message----- > From: birgit kellner [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 19, 2001 3:20 PM > To: [EMAIL PROTECTED] > Subject: File::Path oddity > > > 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?
perldoc -f umask -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]