nextcloud-server/lib/private/Files
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
..
AppData chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Cache Merge pull request #48077 from nextcloud/backport/47852/stable30 2024-10-02 10:43:41 +07:00
Config fix: ensure array returned from getMountsForFileId is continious 2024-08-02 17:22:33 +07:00
Lock chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Mount chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Node fix: Do not fail to get internal path on NonExistingFile/NonExistingFolder 2024-09-03 00:40:03 +07:00
Notify chore: Add SPDX header 2024-05-24 13:11:22 +07:00
ObjectStore Merge pull request #48233 from nextcloud/backport/48222/stable30 2024-09-20 23:02:25 +07:00
Search chore: Add SPDX header 2024-05-24 13:11:22 +07:00
SimpleFS chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Storage fix: Fix copying or moving from shared groupfolders 2024-10-29 15:02:49 +07:00
Stream chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Template fix: Only write once to template instead of create/copy 2024-09-10 08:07:26 +07:00
Type chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Utils chore: Add SPDX header 2024-05-24 13:11:22 +07:00
FileInfo.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
FilenameValidator.php fix: Also validate parent path in `verifyPath` 2024-08-28 20:24:03 +07:00
Filesystem.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
SetupManager.php feat: store the mountpoint of storages in the mount options 2024-08-20 14:24:43 +07:00
SetupManagerFactory.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
View.php fix(files): Check if the target path is a descendant of the shared folder path 2024-09-06 02:00:43 +07:00