Skip to content

Commit

Permalink
fix RT #76978, mkdir() umask should default to 0o777
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Aug 4, 2010
1 parent efe72cb commit 8f8ad30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/IO.pm
Expand Up @@ -272,7 +272,7 @@ multi sub chdir($path as Str) {
$! ?? fail($!) !! True
}

multi sub mkdir($path as Str, $mode = 0) {
multi sub mkdir($path as Str, $mode = 0o777) {
try {
pir::new__PS('OS').mkdir($path, $mode)
}
Expand Down

0 comments on commit 8f8ad30

Please sign in to comment.