-
Notifications
You must be signed in to change notification settings - Fork 669
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 2.5.0 deletes files that are moved into a renamed folder #6808
Comments
The folder watcher does indeed produce the wrong touched path on linux: it's inode based so when renaming Since it doesn't update after renames the folder the local discovery list isn't seeded correctly anymore afterwards. This should not affect windows or osx since subfolders don't require individual watches there. |
@jnweiger Indeed, this is a different problem - just looked similar. Both affect the local discovery skipping though. |
If a folder was renamed A -> B, the folder watcher for the inode would be unaware and still report changes for A/foo. Now directory renames in the watched folders are tracked and paths are updated accordingly.
If a folder was renamed A -> B, the folder watcher for the inode would be unaware and still report changes for A/foo. Now directory renames in the watched folders are tracked and paths are updated accordingly.
If a folder was renamed A -> B, the folder watcher for the inode would be unaware and still report changes for A/foo. Now directory renames in the watched folders are tracked and paths are updated accordingly.
yep, must be different. I've reproduced the issue with testpilotcloud-client-2.5.1.10803~pr6806+oc-10332 Will try again with current 2.5 with 6809 merged shortly. |
pr6809 fixes the issue! |
Ubuntu 18.04 linux mint 19 tara
Connect to demo.owncloud.org, wait until the skeleton files have synced. In my case the main sync folder was
ownCloud7
.Execute the following commands:
Check with a web browser: Squirrel.jpg is no longer on the demo.owncloud.org -- neither in Photos nor in bar.
The client Sync Protocol window logs this (from bottom to top):
On the client side the file Squirrel.jpg still exists in folder bar. But it was deleted on the server, its folder bar is now empty.
This also does not sync anything to the server. The f12 log mentions wakeup.txt with only one line:
Note that it shows the old folder name
foo
instead of the actual folder namebar
. This is wrong.The text was updated successfully, but these errors were encountered: