nextcloud-server/lib/private/Files/Storage
Daniel Calviño Sánchez 1a98cd52b5 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 15:02:49 +07:00
..
PolyFill chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Wrapper fix: Allow overriding shouldApplyQuota check from child classes 2024-10-28 09:46:45 +07:00
Common.php fix: Also validate parent path in `verifyPath` 2024-08-28 20:24:03 +07:00
CommonTest.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
DAV.php Merge branch 'master' into refactor/OC-Server-getHTTPClientService 2024-05-30 14:21:45 +07:00
FailedStorage.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Home.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Local.php fix: Fix copying or moving from shared groupfolders 2024-10-29 15:02:49 +07:00
LocalRootStorage.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
LocalTempFileTrait.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Storage.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
StorageFactory.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Temporary.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00