-
Notifications
You must be signed in to change notification settings - Fork 665
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
[REQUEST] Move files to trash instead of deleting them #9001
Comments
Sorry to hear that you encountered data loss. At the moment we only support the trash on linux systems. The trash will only work for downloaded files not for placeholders. |
Ah, so it is in the roadmap? This happened on a Mac client. |
Add advanced setting: Default off |
Add an option to have the client not delete files when they are removed on the remote side, but to move them into the trash bin. Fixes: #9001
Add an option to have the client not delete files when they are removed on the remote side, but to move them into the trash bin. Fixes: #9001
Add an option to have the client not delete files when they are removed on the remote side, but to move them into the trash bin. Fixes: #9001
Add an option to have the client not delete files when they are removed on the remote side, but to move them into the trash bin. Fixes: #9001
Add an option to have the client not delete files when they are removed on the remote side, but to move them into the trash bin. Fixes: #9001
Add an option to have the client not delete files when they are removed on the remote side, but to move them into the trash bin. Fixes: #9001
Scenarios to test:
Expected result: Folder has also been moved to the trash bin
Expected result: The feature is off by default |
Passed in ownCloud 6.0.0.12640-daily20231117 |
Due to a problem in the RAID array backing my ownCloud server, some files were thought to be received but were actually not written on the disk. As a consequence after fixing the problem and running
occ files:scan
the files were thought to be removed on the server.Then, the sync made ownCloud clients delete all the concerned files. This happened before any backup could be made as it was all the recent files sent by clients, and therefore resulted in a dramatic loss.
To prevent this kind of scenario, it would be interesting to have an option to move the local files to the trash instead of permanently deleting the files.
TODO:
Remove
client/src/common/filesystembase.cpp
Line 383 in 6f8e49d
The text was updated successfully, but these errors were encountered: