Skip to content

Commit

Permalink
Merge pull request #128 from openeuropa/safe-mkdir-perms
Browse files Browse the repository at this point in the history
Default to safe permissions when creating folders
  • Loading branch information
pfrenssen authored May 18, 2020
2 parents dd4a4c7 + b26f500 commit f2f10ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tasks/CollectionFactory/CollectionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ protected function taskFactory($task)
$this->secureOption($task, 'recursive', false);
$this->secureOption($task, 'time', time());
$this->secureOption($task, 'atime', time());
$this->secureOption($task, 'mode', 0777);
$this->secureOption($task, 'mode', 0755);

switch ($task['task']) {
case "mkdir":
Expand Down

0 comments on commit f2f10ad

Please sign in to comment.