summaryrefslogtreecommitdiffstats
path: root/lib/filestorage
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-07-27 14:00:41 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-07-27 14:00:41 +0200
commitf752a2760584614c160e4eaf5bf0fdeb938ee4ae (patch)
treefb4302068392cf3d95a5b78f4127e09a58147ab9 /lib/filestorage
parent931c4695a60d7c46d225152f0628fdd7f1574027 (diff)
downloadnextcloud-server-f752a2760584614c160e4eaf5bf0fdeb938ee4ae.tar.gz
nextcloud-server-f752a2760584614c160e4eaf5bf0fdeb938ee4ae.zip
write keyfiles to server
Diffstat (limited to 'lib/filestorage')
-rw-r--r--lib/filestorage/local.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php
index b2eba051515..f04cf7c1076 100644
--- a/lib/filestorage/local.php
+++ b/lib/filestorage/local.php
@@ -12,7 +12,7 @@ class OC_Filestorage_Local extends OC_Filestorage_Common{
}
}
public function mkdir($path){
- return @mkdir($this->datadir.$path);
+ return @mkdir($this->datadir.$path, 0755, true);
}
public function rmdir($path){
return @rmdir($this->datadir.$path);