Menu

#23 file locking

Not scheduled
wont-fix
5
2018-12-14
2008-04-12
Brett Wuth
No

Implement file locking so that two instances of JPasswords cannot overwrite each other's changes to the database. The file locking should allow the database to reside on a network file system (e.g. SMB) and be accessed from multiple computers.

Use case:

An organization wants to have a centralized JPassword database accessed from different computers.

Discussion

  • Wolfgang Keller

    Wolfgang Keller - 2012-06-04

    File locking is implemented with 0-6-0 RC1.
    It works, however, not in some famous environments like Linux, as for the missing feature of the OS there. Also it currently works late, that is you can open and modify the database without notice, but you can't save it when conflicting.

     
  • Wolfgang Keller

    Wolfgang Keller - 2018-12-14

    Casual file locking, as implemented by some projects, is a nuisance and I refuse to perform such a request because it is to no avail. The salvation JPasswords has taken is to implement the MERGE-ON-CONFLICT feature since 1.1, which allows parallel instances addressing a file - under assumption an operating system of file access would synchronise writing. Otherwise there pertains a rest of risk for which there is no salvation. Hope this helps!

     
  • Wolfgang Keller

    Wolfgang Keller - 2018-12-14
    • labels: Data Formats --> Data Formats, data IO
    • status: open --> wont-fix
    • assigned_to: Wolfgang Keller
    • Group: --> Not scheduled
     

Anonymous
Anonymous

Add attachments
Cancel