Project

General

Profile

Bug #442

Save overwrites softlinks

Added by Christian Steinhaus over 2 years ago. Updated about 2 years ago.

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

Description

Keepassx2 version: 2.0.2-1 archlinux
When opening a database from a softlink if will open fine, but when saving the database the softlink will be replaced by a database file. The softlink endpoint is not changed.

Reproduce:
-create subdir
-create database in subdir
-softlink database from subdir to parent
-open database in the parent directory
-change some entrys and save to the softlink location

Result:
-the softlink is gone
-a duplication without the last recent changes in the parentdir replaced the softlink

Associated revisions

Revision e9c8363b
Added by Felix Geyer about 2 years ago

Save to canonical file path so we don't overwrite symlinks.

When saving a database we previously replaced symlinks with a regular file.

Closes #442

History

#1 Updated by Felix Geyer over 2 years ago

  • Target version set to 2.0.3

#2 Updated by Felix Geyer about 2 years ago

  • Status changed from New to Closed

Also available in: Atom PDF