Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix copying or moving from shared groupfolders #47847

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Sep 9, 2024

  1. 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 <[email protected]>
    danxuliu committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    309f65b View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. test: add test for nested jail cross-storage move

    Signed-off-by: Robin Appelman <[email protected]>
    icewind1991 committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    cef863a View commit details
    Browse the repository at this point in the history