Project

General

Profile

Bug #18

Prevent opening a file multiple times

Added by Florian Geyer almost 5 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Operating System:
Linux
Affected version:
Affected revision:

Description

Prevent opening a file multiple times with lock files.

Associated revisions

Revision ce633b54
Added by Felix Geyer over 4 years ago

Prevent opening a database multiple times in the same instance.

Refs #18

Revision 05b5446e
Added by Felix Geyer almost 2 years ago

Protect opened databases with a file lock.

Closes #18

History

#1 Updated by Felix Geyer almost 5 years ago

I think we should write the hostname and process id to the lock file.
When we detect a lock file we can discard it in case it has a matching
hostname and the process with the id doesn't exist or is not keepassx.

#2 Updated by Felix Geyer almost 5 years ago

  • Target version changed from 2.0 Alpha 1 to 2.0 Alpha 2

#3 Updated by Florian Geyer almost 5 years ago

  • Assignee set to Florian Geyer

#4 Updated by Felix Geyer over 4 years ago

  • Affected version set to 2.0 Alpha 2
  • Target version changed from 2.0 Alpha 2 to 2.0 Alpha 3

#5 Updated by Florian Geyer over 4 years ago

  • Assignee deleted (Florian Geyer)

#6 Updated by Felix Geyer over 4 years ago

  • Target version deleted (2.0 Alpha 3)

#7 Updated by Felix Geyer almost 3 years ago

  • Target version set to 2.0 Beta 1

#8 Updated by kamil drathir over 2 years ago

Any new info about that little critical one bug? At linux is not so hard mess up database when opened in few instances on multiple virtual workspaces desktops, even if saved and open in the other one instance file isnt reloaded and changes made before are wiped...

#9 Updated by Felix Geyer almost 2 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF