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
client should prevent data loss when excluding a folder #6716
Comments
(Moving to 2.6 as this is not a regression, and the quite complicated steps necessary to get the file deleted, which includes warning that the file will get deleted) In theory, DoNotRemove.txt should keep the file from being deleted. Edit: I can reproduce the problem. The first sync don't delete the files, but further sync deletes it as the parent directory gets deleted. |
I've tested this with 2.6's new discovery and can no longer reproduce the problem. The DoNotRemove.txt file is retained. |
I do however see a problem where the folder no longer shows up in the selective sync folder list, even if the contents are ignored "because of the selective sync blacklist". |
I also cannot reproduce the issue in 2.6.0alpha2 (build 12128) macOS 10.14.5.
@pmaier1 Please specify the correct behaviour. What should we see in the in the selective sync folder list? |
@HanaGemela Let's make it into a new 2.6.1 issue. It's separate from what this ticket was originally about, in particular it's much less severe since there's no data loss. |
A prerequisite for #6715
Here is a case where a 2.5.0 desktop client deletes a file from the local folder that was never synced to the server:
Leave out any of the above steps, and the DoNotRemove.txt file is either preserved locally or even uploaded to the server.
The text was updated successfully, but these errors were encountered: