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

View file

@ -31,7 +31,7 @@ class MappedLocal extends \OC\Files\Storage\Common{
return 'local::'.$this->datadir; return 'local::'.$this->datadir;
} }
public function mkdir($path) { public function mkdir($path) {
return @mkdir($this->buildPath($path)); return @mkdir($this->buildPath($path), 0777, true);
} }
public function rmdir($path) { public function rmdir($path) {
try { try {