is your umask 022?

On Fri, 19 Oct 2001, birgit kellner wrote:

> 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]
>


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

Reply via email to