[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#337225: korganizer: breaks hard links



Package: kontact
Version: 4:3.3.2-3
Severity: normal

When you close kontact and it has accessed read-write, even if not
written in it, a file that has more than one hard link, kontact creates
a new file at the path it has accessed, with a new inode, thus
"breaking" the hard links (their content wil not be updated anymore).

Here's my steps to reproduce the bug:

$ cat > foo.ics <<EOF
BEGIN:VCARD
CLASS:PUBLIC
FN:John Smith
N:Smith;John;;Mr;
TEL;TYPE=CELL:+123456789
VERSION:3.0
END:VCARD
EOF
$ stat -c "%i %n" *
1917526 foo.ics
$ ln foo.ics bar.ics
$ stat -c "%i %n" *
1917526 bar.ics
1917526 foo.ics
$ kontact

Add foo.ics as a new address book, read-only, quit kontact.

$ stat -c "%i %n" *
1917526 bar.ics
1917526 foo.ics
$ kontact

Remove foo.ics address book. Quit kontact.

$ stat -c "%i %n" *
1917526 bar.ics
1917526 foo.ics
$ kontact

Add foo.ics as a new address book, read-write, quit kontact.

$ stat -c "%i %n" *
1917526 bar.ics
1918815 foo.ics
1918812 foo.ics_4

OK, link's broken...

I had the same bug with my calendar, thus the bug filed on kontact. I
suspect it is a general KDE bug.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages korganizer depends on:
ii  kdelibs4                  4:3.3.2-6.2    KDE core libraries
ii  ktnef                     4:3.3.2-3      KDE TNEF viewer
ii  libart-2.0-2              2.3.17-1       Library of functions for 2D graphi
ii  libc6                     2.3.5-6        GNU C Library: Shared libraries an
ii  libgcc1                   1:4.0.2-2      GCC support library
ii  libice6                   6.8.2.dfsg.1-7 Inter-Client Exchange library
ii  libidn11                  0.5.18-1       GNU libidn library, implementation
ii  libkcal2a                 4:3.3.2-3      KDE calendaring library
ii  libkdepim1                4:3.3.2-3      KDE PIM library
ii  libkgantt0                4:3.3.2-3      KDE gantt charting library
ii  libkpimexchange1          4:3.3.2-3      KDE PIM Exchange library
ii  libkpimidentities1        4:3.3.2-3      KDE PIM user identity information 
ii  libpng12-0                1.2.8rel-1     PNG library - runtime
ii  libqt3c102-mt             3:3.3.4-3      Qt GUI Library (Threaded runtime v
ii  libsm6                    6.8.2.dfsg.1-7 X Window System Session Management
ii  libstdc++5                1:3.3.6-7      The GNU Standard C++ Library v3
ii  libx11-6                  6.8.2.dfsg.1-7 X Window System protocol client li
ii  libxext6                  6.8.2.dfsg.1-7 X Window System miscellaneous exte
ii  libxrender1               1:0.9.0-2      X Rendering Extension client libra
ii  perl                      5.8.7-6        Larry Wall's Practical Extraction 
ii  xlibs                     6.8.2.dfsg.1-7 X Window System client libraries m
ii  zlib1g                    1:1.2.3-4      compression library - runtime

Versions of packages korganizer recommends:
ii  kghostview                    4:3.3.2-2  PostScript viewer for KDE

-- no debconf information

-- 
nowhere.man@levallois.eu.org
OpenPGP 0xD9D50D8A

Attachment: signature.asc
Description: Digital signature


Reply to: