diff --git a/apps/dav/lib/connector/sabre/serverfactory.php b/apps/dav/lib/connector/sabre/serverfactory.php index b62f90ab8026673f73d57b805670c65634a3df49..f67e949e8025fc3e5276e9e623ed21dda0dc2e20 100644 --- a/apps/dav/lib/connector/sabre/serverfactory.php +++ b/apps/dav/lib/connector/sabre/serverfactory.php @@ -78,6 +78,9 @@ class ServerFactory { // wait with registering these until auth is handled and the filesystem is setup $server->on('beforeMethod', function () use ($server, $objectTree, $viewCallBack) { + // ensure the skeleton is copied + \OC::$server->getUserFolder(); + /** @var \OC\Files\View $view */ $view = $viewCallBack(); $rootInfo = $view->getFileInfo('');