nextcloud/lib/private
Carl Schwan 7bf4a45f49 Fix permissions when copying from ObjectStorage
Make sure that when a user copy a file from a directory they don't have
all permissions to a directory where they have more permissions, the
permissions are correctly set to the one from the parent taget folder.

This was caused by the ObjectStoreStorage::copyFromStorage using
the jailed storage and cache entry instead of the unjailed one like other
storages (the local one).
Steps to reproduce

+ Use object storage
+ Create a groupfolder with one group having full permission and another one
  who can just read files.
+ With an user who is in the second group, copy a file from the groupfolder to
  the home folder of this user.
+ The file in the home folder of the user will be read only and can't be deleted
  even though it is in their home folder and they are the owner. In oc_filecache,
  the permissions stored for this file are 1 (READ)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-10-30 00:18:26 +02:00
..
Accounts implement verification for additional mails 2021-09-10 13:17:39 +02:00
Activity Update php licenses 2021-06-04 22:02:41 +02:00
App Keep group restrictions when reenabling apps after an update 2021-10-13 14:03:39 +02:00
AppFramework Make the route name error more helpful 2021-10-22 20:36:42 +00:00
Archive Update php licenses 2021-06-04 22:02:41 +02:00
Authentication Prevent duplicate auth token activity updates 2021-10-22 09:16:05 +00:00
Avatar adjust internal data handling logic to fix store and load 2021-06-30 05:15:50 +00:00
BackgroundJob Update php licenses 2021-06-04 22:02:41 +02:00
Broadcast/Events Update php licenses 2021-06-04 22:02:41 +02:00
Cache Update php licenses 2021-06-04 22:02:41 +02:00
Calendar Update php licenses 2021-06-04 22:02:41 +02:00
Collaboration use specific email getter where necessary 2021-09-10 13:22:27 +02:00
Command Update php licenses 2021-06-04 22:02:41 +02:00
Comments Fix SQL type error 2021-08-20 10:43:29 +00:00
Console Move DateTime::ATOM to DateTimeInterface::ATOM 2021-06-23 15:28:07 +02:00
Contacts/ContactsMenu Add email addresses to contacts menu 2021-09-17 10:04:22 +02:00
Dashboard Update php licenses 2021-06-04 22:02:41 +02:00
DB Allow casting query functions as well 2021-09-24 20:20:02 +00:00
Diagnostics Update php licenses 2021-06-04 22:02:41 +02:00
DirectEditing Update php licenses 2021-06-04 22:02:41 +02:00
Encryption remove depricated methods from MountConfig 2021-06-16 13:55:19 +02:00
EventDispatcher Update php licenses 2021-06-04 22:02:41 +02:00
Federation Correctly check the reception of a remote feedback 2021-06-09 15:37:18 +02:00
Files Fix permissions when copying from ObjectStorage 2021-10-30 00:18:26 +02:00
FullTextSearch Update php licenses 2021-06-04 22:02:41 +02:00
GlobalScale Update php licenses 2021-06-04 22:02:41 +02:00
Group Update php licenses 2021-06-04 22:02:41 +02:00
Hooks Update php licenses 2021-06-04 22:02:41 +02:00
Http Check for !== false instead 2021-07-12 14:46:43 +00:00
IntegrityCheck Update php licenses 2021-06-04 22:02:41 +02:00
KnownUser Update php licenses 2021-06-04 22:02:41 +02:00
L10N Update php licenses 2021-06-04 22:02:41 +02:00
LDAP Update php licenses 2021-06-04 22:02:41 +02:00
legacy Merge pull request #29183 from nextcloud/backport/29028/stable22 2021-10-19 11:11:26 +02:00
Lock Update php licenses 2021-06-04 22:02:41 +02:00
Lockdown use searchoperation for storage filter instead of db expression 2021-06-14 16:11:25 +02:00
Log Sanitize more functions from the encryption app 2021-07-21 21:58:48 +02:00
Mail fix parameter type hint in phpdoc 2021-09-10 13:18:23 +02:00
Memcache Fix in locking cache check 2021-07-06 17:02:52 +00:00
Migration Update php licenses 2021-06-04 22:02:41 +02:00
Notification Update php licenses 2021-06-04 22:02:41 +02:00
OCS Update php licenses 2021-06-04 22:02:41 +02:00
Preview Fall back to full file for video previews 2021-09-20 09:29:58 +00:00
Remote Update php licenses 2021-06-04 22:02:41 +02:00
Repair Update php licenses 2021-06-04 22:02:41 +02:00
RichObjectStrings Update php licenses 2021-06-04 22:02:41 +02:00
Route Fix Lots of Error: file_exists(): open_basedir restriction in effect. in Log 2021-10-01 12:48:38 +00:00
Search Update php licenses 2021-06-04 22:02:41 +02:00
Security Set associative = true for cleanup job 2021-10-07 19:34:10 +00:00
Session Only trap E_ERROR in session handling 2021-08-17 10:12:56 +00:00
Settings Update php licenses 2021-06-04 22:02:41 +02:00
Setup Update php licenses 2021-06-04 22:02:41 +02:00
Share Update php licenses 2021-06-04 22:02:41 +02:00
Share20 Add proper message to created share not found 2021-10-13 22:48:08 +00:00
Support Unshift crash reports when they are loaded, to break the recusion 2021-06-25 06:34:13 +00:00
SystemTag Update php licenses 2021-06-04 22:02:41 +02:00
Tagging Update php licenses 2021-06-04 22:02:41 +02:00
Template Fix Lots of Error: file_exists(): open_basedir restriction in effect. in Log 2021-10-01 12:48:38 +00:00
Updater Update php licenses 2021-06-04 22:02:41 +02:00
User enable the user to set a primary (notification) email address (backend) 2021-09-10 13:22:26 +02:00
UserStatus Update php licenses 2021-06-04 22:02:41 +02:00
AllConfig.php Update php licenses 2021-06-04 22:02:41 +02:00
AppConfig.php Update php licenses 2021-06-04 22:02:41 +02:00
CapabilitiesManager.php Update php licenses 2021-06-04 22:02:41 +02:00
Color.php Update php licenses 2021-06-04 22:02:41 +02:00
Config.php Update php licenses 2021-06-04 22:02:41 +02:00
ContactsManager.php Update php licenses 2021-06-04 22:02:41 +02:00
DatabaseException.php Update php licenses 2021-06-04 22:02:41 +02:00
DatabaseSetupException.php Update php licenses 2021-06-04 22:02:41 +02:00
DateTimeFormatter.php Update php licenses 2021-06-04 22:02:41 +02:00
DateTimeZone.php Update php licenses 2021-06-04 22:02:41 +02:00
ForbiddenException.php Update php licenses 2021-06-04 22:02:41 +02:00
HintException.php Update php licenses 2021-06-04 22:02:41 +02:00
InitialStateService.php Update php licenses 2021-06-04 22:02:41 +02:00
Installer.php Fix translated app details 2021-10-13 09:59:48 +00:00
LargeFileHelper.php Update php licenses 2021-06-04 22:02:41 +02:00
Log.php Update php licenses 2021-06-04 22:02:41 +02:00
MemoryInfo.php Update php licenses 2021-06-04 22:02:41 +02:00
NaturalSort.php Update php licenses 2021-06-04 22:02:41 +02:00
NaturalSort_DefaultCollator.php Update php licenses 2021-06-04 22:02:41 +02:00
NavigationManager.php Let apps toggle an unread counter on app icons 2021-06-16 17:12:56 +02:00
NeedsUpdateException.php Update php licenses 2021-06-04 22:02:41 +02:00
NotSquareException.php Update php licenses 2021-06-04 22:02:41 +02:00
PreviewManager.php Disable HEIC image preview provider for performance concerns 2021-07-21 08:31:31 +00:00
PreviewNotAvailableException.php Update php licenses 2021-06-04 22:02:41 +02:00
RedisFactory.php Fix check for redis minimal version 2021-09-24 21:03:00 +00:00
Repair.php Update php licenses 2021-06-04 22:02:41 +02:00
RepairException.php Update php licenses 2021-06-04 22:02:41 +02:00
Search.php Update php licenses 2021-06-04 22:02:41 +02:00
Server.php Add database ratelimiting backend 2021-09-13 15:36:07 +02:00
ServerContainer.php Update php licenses 2021-06-04 22:02:41 +02:00
ServerNotAvailableException.php Update php licenses 2021-06-04 22:02:41 +02:00
ServiceUnavailableException.php Update php licenses 2021-06-04 22:02:41 +02:00
Setup.php enable the user to set a primary (notification) email address (backend) 2021-09-10 13:22:26 +02:00
Streamer.php Update php licenses 2021-06-04 22:02:41 +02:00
SubAdmin.php Update php licenses 2021-06-04 22:02:41 +02:00
SystemConfig.php consider some config keys under 'objectstore_multibucket' as sensitive 2021-10-06 07:52:38 +00:00
TagManager.php Update php licenses 2021-06-04 22:02:41 +02:00
Tags.php Update php licenses 2021-06-04 22:02:41 +02:00
TemplateLayout.php Use proper methods for display name retrieval 2021-06-17 10:19:07 +02:00
TempManager.php Update php licenses 2021-06-04 22:02:41 +02:00
Updater.php Fix app upgrade 2021-10-18 19:22:48 +00:00
URLGenerator.php Prevent empty base URL during installation 2021-09-29 15:38:16 +00:00