Skip to content

Conversation

@PVince81
Copy link
Member

Fixes an issue with transfer ownership in move mode where the folder
"files_encryption/keys/files" already exists.

Instead of failing, its existence is checked before calling mkdir.

Fixes #30564

Note: normally the target folders don't exist yet when doing a copy over webdav because the webdav code (or higher layers) will first delete the target before starting the copy. With transfer ownership we operate on a different layer so this pre-deletion is not done but there's a check upfront that the target storage is empty.

Fixes an issue with transfer ownership in move mode where the folder
"files_encryption/keys/files" already exists.

Instead of failing, its existence is checked before calling mkdir.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
@PVince81
Copy link
Member Author

/backport to stable23

@PVince81
Copy link
Member Author

/backport to stable22

@PVince81
Copy link
Member Author

/backport to stable21

Copy link
Member

@julien-nc julien-nc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@PVince81
Copy link
Member Author

JS failure unrelated, merging

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.

Transfer ownership fails in move mode with encryption enabled

4 participants