diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-11-17 08:43:22 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-11-17 12:54:37 +0100 |
commit | 5172baaf8b0b028328a59e7692bd395b5da2883b (patch) | |
tree | 0071d6a00ccd33d7d0c496620ae191383a57bd17 /lib/public | |
parent | 158aedb549b253b0b8a84a7c68c0d7bca9e7be54 (diff) | |
download | nextcloud-server-5172baaf8b0b028328a59e7692bd395b5da2883b.tar.gz nextcloud-server-5172baaf8b0b028328a59e7692bd395b5da2883b.zip |
fix(ObjectStore): Make copying behavior consistent with local storage
Drop file permissions on copy like we do on local storage.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Files/Cache/ICacheEntry.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/Files/Cache/ICacheEntry.php b/lib/public/Files/Cache/ICacheEntry.php index e1e8129394c..3a069ca69e0 100644 --- a/lib/public/Files/Cache/ICacheEntry.php +++ b/lib/public/Files/Cache/ICacheEntry.php @@ -123,8 +123,8 @@ interface ICacheEntry extends ArrayAccess { public function getEtag(); /** - * Get the permissions for the file stored as bitwise combination of \OCP\PERMISSION_READ, \OCP\PERMISSION_CREATE - * \OCP\PERMISSION_UPDATE, \OCP\PERMISSION_DELETE and \OCP\PERMISSION_SHARE + * Get the permissions for the file stored as bitwise combination of \OCP\Constants::PERMISSION_READ, \OCP\Constants::PERMISSION_CREATE + * \OCP\Constants::PERMISSION_UPDATE, \OCP\Constants::PERMISSION_DELETE and \OCP\Constants::PERMISSION_SHARE * * @return int * @since 9.0.0 |