Recursive mkdir fixes #7047

This commit is contained in:
Joshua Medeiros 2014-02-02 21:46:09 -05:00 committed by Robin Appelman
parent b8048866c7
commit 76aa4714cf
1 changed files with 1 additions and 1 deletions

View File

@ -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 {