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
Webdav COPY + overwrite existing shared file will auto-unshare due to implicit delete #25387
Comments
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io. |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
This issue has been automatically closed. |
Steps
Expected result
I'd usually expect the contents of the file to be replaced and the metadata to be kept.
Actual result
Shared file is "unshared from self" and replaced with a brand new file that is the copy.
This happens because internally SabreDAV will trigger a delete operation on the file, which is internally doing a "unshare from self".
We might want to try and adjust this behavior.
I for one would rather vote to get rid of single file shares...
Versions
ownCloud 9.2 / master
@DeepDiver1975 @guruz
The text was updated successfully, but these errors were encountered: