Skip to content
Snippets Groups Projects
Commit ed97d872 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #7325 from owncloud/recursive-mkdir-local

Recursive mkdir fixes #7047
parents 1ae10b9d f86dffd5
Branches
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ if (\OC_Util::runningOnWindows()) {
}
public function mkdir($path) {
return @mkdir($this->datadir . $path);
return @mkdir($this->datadir . $path, 0777, true);
}
public function rmdir($path) {
......
......@@ -31,7 +31,7 @@ class MappedLocal extends \OC\Files\Storage\Common{
return 'local::'.$this->datadir;
}
public function mkdir($path) {
return @mkdir($this->buildPath($path));
return @mkdir($this->buildPath($path), 0777, true);
}
public function rmdir($path) {
try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment