https://bugs.kde.org/show_bug.cgi?id=358457
Bug ID: 358457 Summary: Kate removes a hard link to file when opening a file with several hard links Product: kate Version: unspecified Platform: Archlinux Packages OS: other Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: kwrite-bugs-n...@kde.org Reporter: dev-laptan...@yandex.ru It is impossible to edit files that have more than one hard link. Kate simply deletes hard links and saved files becomes actually different files. Reproducible: Always Steps to Reproduce: 1. Make an empty file touch 1.txt 2. Make a hard link to it ln 1.txt 2.txt 3. Ensure that files are hard linked ls -l {1..2}.txt -rw-r--r-- 2 ... 1.txt -rw-r--r-- 2 ... 2.txt 4. Open 1.txt in Kate and edit it, then save. 5. Check if files are hard linked now ls -l {1..2}.txt Actual Results: -rw-r--r-- 1 ... 1.txt -rw-r--r-- 1 ... 2.txt Expected Results: -rw-r--r-- 2 ... 1.txt -rw-r--r-- 2 ... 2.txt Kate even do not give any warning about such behavior. -- You are receiving this mail because: You are watching all bug changes.