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

[stable29] Fix copying or moving from shared groupfolders #48968

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Oct 29, 2024

Backport of PR #47847

danxuliu and others added 2 commits October 29, 2024 10:41
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]>
@provokateurin provokateurin merged commit f99ae33 into stable29 Oct 29, 2024
177 checks passed
@provokateurin provokateurin deleted the backport/47847/stable29 branch October 29, 2024 16:16
@Altahrim Altahrim mentioned this pull request Oct 30, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants