Commit c5431381 authored by Nigel Kukard's avatar Nigel Kukard

Fixed missing umask on dir creation

parent 241ba887
......@@ -1502,6 +1502,7 @@ sub leHandleChallenge
my $challengeFile = sprintf("%s/%s",$dir,$challenge->{'token'});
# Make sure the dir exists...
umask(0022);
if (! -d $dir) {
my @created = make_path($dir,{ 'mode' => 0755 });
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment