#1241 Remote file gets deleted trying to syncronize local file with file on webdav (on linux)!!!


I'm come across a very nasty bug.
Keepass v2.25
Client: openSUSE 13.1 with MONO 3.0.6
Server: openSUSE 13.1 with Owncloud 6 serving files via webDAV (sabreDAV 1.7.6-stable)

How to reproduce:
Open local file, try to sync over URL (https webDAV).
After entering webDAV server credentials and after verification a dialog box pops up (syncing) and at that time the file on the remote end gets deleted and sync fails with server response: error 404 (not found).


  • Paul

    Paul - 2014-05-02

    That will be a permission problem on your webdav connection. KeePass uses file transactions to write database files and requires read, create, rename and delete permission. Turning off file transactions may solve the sync issue but it's not recommended.

    cheers, Paul

  • Dominik Reichl

    Dominik Reichl - 2014-05-02

    I agree with Paul.

  • Dominik Reichl

    Dominik Reichl - 2014-05-02
    • status: open --> closed
    • Priority: 1 --> 5
  • Dimitrios T. Tanis

    I'm posting again because there doesn't seem to be any permission problem. I've tried all permissions manually Reading, Creating, Renaming and Deleting a file both from Owncloud's WEB UI and 2 other webDAV clients and everything works fine.

    I've also tried opening and saving the exact same file with Keepass2Android on my device and it works fine too, so I've no other reason to believe that it is a permission problem.

    In all Keepass tests I've used the same remote webDAV server using the same credentials, accessing the same file.

    Could you please take another look into this?

    PS. Opening the file from the webDAV and trying to save yields the same result (remote file gets deleted).

  • Dimitrios T. Tanis

    Thanx a million.
    I'll test whenever I can and report back if I have any issues.

  • Dimitrios T. Tanis

    Tested. Works great.

    Just a pointer if anyone has the same issue:
    Fixed in v2.26

  • David Lechner

    David Lechner - 2014-05-13

    Fixed in v2.26

    Correction, will be fixed in v2.27 (not officially released yet). The link that I posted above contains a pre-release version for testing.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks