Menu

#1572 Database not touch on save

KeePass_2.x
closed
nobody
None
5
2016-10-04
2016-10-03
lightjohn
No

Hi,

Not really a bug but in many cases it can make my life complicated.
So under Linux(Ubuntu or arch) if I add an entry and save it to the database, owncloud will not see the change and does not sync anything. So I have to "touch" the file myself and just after that the sync start.

Would it be possible to add it in Keepass: once a database is saved "touch" it so that the system sees it was modified.

Thank you

Related

Bugs: #1572

Discussion

  • Paul

    Paul - 2016-10-03

    KeePass writes a completely new file so it is guaranteed to be "touched". Why doesn't owncloud see the change?

    cheers, Paul

     
    • lightjohn

      lightjohn - 2016-10-03

      I don't know why.
      Indeed I was wondering if it was Keepass or owncloud "fault", but it was
      easier from my point of view to change something in keepass.

      ------ Message d'origine ------
      De: "Paul" pail459@users.sf.net
      À: "[keepass:bugs]" 1572@bugs.keepass.p.re.sf.net
      Envoyé : 03/10/2016 19:11:03
      Objet : [keepass:bugs] #1572 Database not touch on save

      KeePass writes a completely new file so it is guaranteed to be
      "touched". Why doesn't owncloud see the change?

      cheers, Paul


      [bugs:#1572] Database not touch on save

      Status: open
      Group: KeePass_2.x
      Created: Mon Oct 03, 2016 10:50 AM UTC by lightjohn
      Last Updated: Mon Oct 03, 2016 10:50 AM UTC
      Owner: nobody

      Hi,

      Not really a bug but in many cases it can make my life complicated.
      So under Linux(Ubuntu or arch) if I add an entry and save it to the
      database, owncloud will not see the change and does not sync anything.
      So I have to "touch" the file myself and just after that the sync
      start.

      Would it be possible to add it in Keepass: once a database is saved
      "touch" it so that the system sees it was modified.

      Thank you


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/keepass/bugs/1572/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #1572

  • Paul

    Paul - 2016-10-04

    What are the file details of an old and new KeePass file on your system?

    cheers, Pau

     
  • Dominik Reichl

    Dominik Reichl - 2016-10-04
    • status: open --> closed
    • Priority: 7 --> 5
     
  • Dominik Reichl

    Dominik Reichl - 2016-10-04

    Right, by default KeePass writes the database to a new file, deletes the old one and renames the new one. This procedure protects against data loss, but maybe it confuses OwnCloud.

    You could try telling KeePass to write directly to be file, by unchecking the option 'Use file transactions for writing databases' (in 'Tools' -> 'Options' -> tab 'Advanced').

    If it still doesn't work, you could try creating a trigger that explicitly touches a database file after it has been written (although I don't understand why this would be necessary; the last modification and last access times already do change).

    Best regards,
    Dominik

     

Log in to post a comment.