nextcloud/lib/private/Files/Storage
Daniel Calviño Sánchez e18de3aac0 fix: Fix copying or moving from shared groupfolders
When copying or moving between two local storages the source path (on
disk) to copy or move from is got from the unjailed path of the source
storage. However, if the source storage has more than one jail getting
the unjailed path resolves the most external jail, but the source path
needs to be got from the most internal jail instead (the one closer to
the local storage).

This can happen, for example, with a shared groupfolder: in that case
there is an external jail for the shared storage, and one internal jail
for the groupfolder storage wrapped by the shared storage.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-10-29 10:36:33 +00:00
..
PolyFill Rename file1 and file2 to source and target in Storage abstraction 2022-10-18 17:21:47 +02:00
Wrapper fix: Allow overriding shouldApplyQuota check from child classes 2024-10-09 16:41:29 +00:00
Common.php fix: preserve fileid when moving from objectstore to non-objectstore 2024-10-08 18:14:26 +02:00
CommonTest.php Update php licenses 2021-06-04 22:02:41 +02:00
DAV.php dav: fix wrong decoding of pluses in URLs 2024-02-03 15:29:18 +01:00
FailedStorage.php Remove unused method getLocalFolder 2023-04-03 10:52:34 +02:00
Home.php more share permission logic to storage wrapper 2023-08-14 18:17:27 +02:00
Local.php fix: Fix copying or moving from shared groupfolders 2024-10-29 10:36:33 +00:00
LocalRootStorage.php Update php licenses 2021-06-04 22:02:41 +02:00
LocalTempFileTrait.php Fix return type of methods returning false on error 2023-04-03 10:52:34 +02:00
Storage.php composer run cs:fix 2023-01-20 11:45:08 +01:00
StorageFactory.php Update php licenses 2021-06-04 22:02:41 +02:00
Temporary.php Update php licenses 2021-06-04 22:02:41 +02:00