Summary: | Deleting all contacts deletes entire /home/user/ | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Anselm Wagner <anselm.wagner> |
Component: | Contacts resource | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | critical | CC: | anselm.wagner, freitag, Martin, nate |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Anselm Wagner
2019-11-15 14:56:44 UTC
Git commit e3e0ee0ddc82bf6a34ebe93ed6c5c881f412ddc2 by Volker Krause. Committed on 17/11/2019 at 11:12. Pushed by vkrause into branch 'release/19.12'. Sanity-check collection path before performing recursive deletion Summary: There is a error paths in directoryForCollection() which might give us an empty string here, which is then interpreted as the current working directory. Reviewers: mlaurent Reviewed By: mlaurent Subscribers: kde-pim Tags: #kde_pim Differential Revision: https://phabricator.kde.org/D25346 M +6 -2 resources/contacts/contactsresource.cpp https://commits.kde.org/kdepim-runtime/e3e0ee0ddc82bf6a34ebe93ed6c5c881f412ddc2 So this is possible? Yikes! I read that by chance, and have a question about one sentence in your initial description: You wrote "ownCloud started to resync everything." Being involved with ownClouds sync algorithm I know that there are several options to get catastrophic results such as removing everything (Syncing means that removes are also propagated). Not that Akonadi is a red herring here!? Can you please describe a bit more in detail what role the ownCloud sync played in this scenario? Are you, for example, syncing your entire home dir? Could you check if you still have the sync log file .owncloudsync.log in your sync directory? The ownCloud Client syncronizes a directory inside my home directory. On the ownCloud server, there was nothing deleted. So this ownCloud-directory inside of my home directory was the only directory, that was not deleted. I do not see a .owncloudsync.log file. The server I use, is from my University: Sciebo-Campus cloud (https://sciebo.de/en/) The only hidden files present in my ownCloud directory are: ._sync_XXXXXXXXXXX.db .sync_XXXXXXXXXXX.db .sync_XXXXXXXXXXX.db-shm .sync_XXXXXXXXXXX.db-wal could any of these files be of any help? Dear Anselm, thank you for that important bug report. Does the fix from comment #1 by Volker Krause actually fix the issue? If its still not fixed please reply and set to REPORTED again, if you cannot set this, let me know and I will do it. Also please set the version you tested with, preferably 5.14.x aka 20.04 or at least 19.12, you see the version by using akonadictl --version IMPORTANT: Please make sure that you test this with a user you created for testing to avoid loosing valuable data. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |