diff --git a/lib/private/files/storage/home.php b/lib/private/files/storage/home.php
index 015b1f018852892e4271ddf394836e25984915ee..85b06f8a510d09351af117c6bdb0aa293af2f53a 100644
--- a/lib/private/files/storage/home.php
+++ b/lib/private/files/storage/home.php
@@ -66,4 +66,14 @@ class Home extends Local implements \OCP\Files\IHomeStorage {
 	public function getUser() {
 		return $this->user;
 	}
+
+	/**
+	 * get the owner of a path
+	 *
+	 * @param string $path The path to get the owner
+	 * @return string uid or false
+	 */
+	public function getOwner($path) {
+		return $this->user->getUID();
+	}
 }
diff --git a/tests/lib/files/storage/home.php b/tests/lib/files/storage/home.php
index 51315a2a5561a39e021bd101db855a407decb9ca..953fcfc8a6a603d3896874a8cfd8c62673d6fbe7 100644
--- a/tests/lib/files/storage/home.php
+++ b/tests/lib/files/storage/home.php
@@ -53,6 +53,8 @@ class Home extends Storage {
 	 */
 	private $tmpDir;
 
+	private $userId;
+
 	/**
 	 * @var \OC\User\User $user
 	 */
@@ -97,4 +99,8 @@ class Home extends Storage {
 	public function testGetCacheReturnsHomeCache() {
 		$this->assertInstanceOf('\OC\Files\Cache\HomeCache', $this->instance->getCache());
 	}
+
+	public function testGetOwner() {
+		$this->assertEquals($this->userId, $this->instance->getOwner(''));
+	}
 }