Merge pull request #7325 from owncloud/recursive-mkdir-local
Recursive mkdir fixes #7047
This commit is contained in:
commit
ed97d872af
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue