diff options
author | Robin Appelman <robin@icewind.nl> | 2016-12-02 17:59:02 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2016-12-02 17:59:02 +0100 |
commit | 02ee4f958c4a5c99274964c609aeae9845ed37d3 (patch) | |
tree | a2d7df8b0003349a74567cdad5640dfc70a7fd73 /apps/files_sharing/tests/SharedStorageTest.php | |
parent | db56df18939fcdadd2b19ebab7db92a77e938c8d (diff) | |
download | nextcloud-server-02ee4f958c4a5c99274964c609aeae9845ed37d3.tar.gz nextcloud-server-02ee4f958c4a5c99274964c609aeae9845ed37d3.zip |
apply permissions mask for shared storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_sharing/tests/SharedStorageTest.php')
-rw-r--r-- | apps/files_sharing/tests/SharedStorageTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/SharedStorageTest.php b/apps/files_sharing/tests/SharedStorageTest.php index 2486e23af1b..f1b0cbb8fbb 100644 --- a/apps/files_sharing/tests/SharedStorageTest.php +++ b/apps/files_sharing/tests/SharedStorageTest.php @@ -202,13 +202,13 @@ class SharedStorageTest extends TestCase { $this->assertTrue(\OC\Files\Filesystem::is_dir($this->folder)); // for the share root we expect: - // the shared permissions (1) + // the read permissions (1) // the delete permission (8), to enable unshare $rootInfo = \OC\Files\Filesystem::getFileInfo($this->folder); $this->assertSame(9, $rootInfo->getPermissions()); // for the file within the shared folder we expect: - // the shared permissions (1) + // the read permissions (1) $subfileInfo = \OC\Files\Filesystem::getFileInfo($this->folder . $this->filename); $this->assertSame(1, $subfileInfo->getPermissions()); |