<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>140175</bug_id>
          
          <creation_ts>2007-01-16 23:43:26 +0000</creation_ts>
          <short_desc>mishandling of symbolic links [patch]</short_desc>
          <delta_ts>2022-02-03 03:35:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>ImageEditor-Save</component>
          <version>0.9.1</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pedro Venda">pjvenda</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>bacchus</cc>
    
    <cc>bugs.kde.org</cc>
    
    <cc>caulier.gilles</cc>
    
    <cc>jonorland</cc>
    
    <cc>lb.kdebugzilla</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>4.0.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>20</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>502053</commentid>
    <comment_count>0</comment_count>
    <who name="Pedro Venda">pjvenda</who>
    <bug_when>2007-01-16 23:43:26 +0000</bug_when>
    <thetext>Version:           0.9.1-svn (using KDE KDE 3.5.5)
Installed from:    Gentoo Packages
Compiler:          gcc (GCC) 4.1.1 (Gentoo 4.1.1-r3)
 CFLAGS=&quot;-march=pentium-m -mtune=pentium-m -mmmx -msse -msse2 -mfpmath=sse,387 -fomit-frame-pointer -funroll-loops -O2 -pipe&quot;
OS:                Linux

I&apos;m creating sub-albums of my main albums where I symlink the files 
corresponding to my selected pictures to geotag and comment and later to publish on the web. So far it works well: digikam displays the pictures (symlinks) correctly in the sub-album and if I change the picture in the main album, it shows up changed in the sub album.

The issue is doing it the other way around: changing pictures in the sub album (changing/adding tags) does a strange thing. The symlink is replaced by the changed file and the source file is replaced by another with the same name and with size 0. Like this:

before:
pjlv@archon ... $ ls -l 20061231T180626.JPG ../20061231T180626.JPG
... 3569645 Jan  2 01:34 ../20061231T180626.JPG
...      22 Jan 16 12:50 20061231T180626.JPG -&gt; ../20061231T180626.JPG

after:
pjlv@archon ... $ ls -l 20061231T180626.JPG ../20061231T180626.JPG
...       0 Jan 16 13:13 ../20061231T180626.JPG
... 3569742 Jan 16 13:13 20061231T180626.JPG

I understand that this technique may seem a dirty hack to &quot;fool&quot; digikam, but nevertheless, it should handle symlinks like symlinks.

How to reproduce:
0. select an album [~/album]
1. create a sub-album (on digikam or on the shell) [~/album/subalbum]
2. symlink an image from the album into sub-album (on the shell) [~/album/subalbum/img001.jpg -&gt; ~/album/subalbum/img001.jpg]
3. navigate into the sub-album folder and change the comment of the linked image file
4. watch the resulting files [~/album/subalbum/img001.jpg (should have 0 bytes), ~/album/subalbum/img001.jpg (shoud no longer be a symlink and is the altered image file)]

Expected behaviour:
4. the symlink in ~/album/subalbum/img001.jpg remains a symlink to ~/album/img001.jpg and ~/album/img001.jpg is changed to reflect the new comment tag.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>568870</commentid>
    <comment_count>1</comment_count>
    <who name="Florian">bugzilla.kde.org</who>
    <bug_when>2008-01-06 23:06:03 +0000</bug_when>
    <thetext>I can confirm this strange behavior for 0.9.3 (KDE 3.5.7 &quot;release 72.4&quot; openSUSE 10.3).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>568970</commentid>
    <comment_count>2</comment_count>
    <who name="Arnd Baecker">arnd.baecker</who>
    <bug_when>2008-01-07 07:56:43 +0000</bug_when>
    <thetext>It *might* be that internally the modification is done on a temporary
file which is then copied over to the original one (which, 
in this case, would not be the file to which the symlink goes,
but the symlink itself).

Using symlinked directories should work ok though.

Have you tried using tags to mark the selected pictures for geotagging, commenting 
publishing?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>677525</commentid>
    <comment_count>3</comment_count>
    <who name="Stuart Prescott">bugs.kde.org</who>
    <bug_when>2008-12-08 01:26:35 +0000</bug_when>
    <thetext>I see this behaviour with digikam 0.9.4 in Debian Lenny (from Debian digikam package 2:0.9.4-1).

Quite annoying, really, to have the symlink farm wiped out and the original files truncated to 0 bytes too.

Probably an associated problem is that digikam doesn&apos;t play nicely with hardlinks either.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>678473</commentid>
    <comment_count>4</comment_count>
    <who name="Sebastian">bacchus</who>
    <bug_when>2008-12-09 16:11:36 +0000</bug_when>
    <thetext>I confirm this behaviour of symbolic links as well as hard links with digiKam 0.9.4 in Ubuntu 8.10.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>681557</commentid>
    <comment_count>5</comment_count>
    <who name="Jonas Norlander">jonorland</who>
    <bug_when>2008-12-15 13:18:24 +0000</bug_when>
    <thetext>I can confirm this bug to on Kubuntu 8.10 with digikam 0.9.4 (0.9.4-1ubuntu1). I think that with the comments on this bug the status and specially severity should change as this can make you loose pictures. I spent several hours comparing and restoring pictures from a backup two different times before I realized that it was a bug related to some of my pictures was symlinked.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>937764</commentid>
    <comment_count>6</comment_count>
      <attachid>41806</attachid>
    <who name="Johannes Wienke">languitar</who>
    <bug_when>2010-03-21 18:01:42 +0000</bug_when>
    <thetext>Created attachment 41806
Let the imag editor follow symlinks

This patch lets the image editor follow symlinks for saving images. Could someone please test this, especially on windows because the file name for preserving the windows file permissions now points to the symlink target and I don&apos;t know how windows reacts on this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>937772</commentid>
    <comment_count>7</comment_count>
      <attachid>41807</attachid>
    <who name="Johannes Wienke">languitar</who>
    <bug_when>2010-03-21 18:30:25 +0000</bug_when>
    <thetext>Created attachment 41807
also don&apos;t remove symlinks when writing metadata

This patch also includes checking symlinks when writing metadata. Nevertheless, the database will not be notified for changes on the source of the symlink. I don&apos;t know if there is a good solution to model this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>942627</commentid>
    <comment_count>8</comment_count>
    <who name="Johannes Wienke">languitar</who>
    <bug_when>2010-03-30 22:15:25 +0000</bug_when>
    <thetext>Could someone please review these patches before they cannot be applied to trunk anymore ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1026610</commentid>
    <comment_count>9</comment_count>
    <who name="Andi Clemens">andi.clemens</who>
    <bug_when>2010-10-01 23:30:05 +0000</bug_when>
    <thetext>The patch still applies to trunk :-)

Gilles,

can you test this on Windows?

Andi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1026830</commentid>
    <comment_count>10</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2010-10-02 15:18:33 +0000</bug_when>
    <thetext>i will check it

Gilles</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043849</commentid>
    <comment_count>11</comment_count>
    <who name="Andi Clemens">andi.clemens</who>
    <bug_when>2010-11-13 12:44:19 +0000</bug_when>
    <thetext>Gilles, I can not test this under Windows or Mac OSX, I will checkout the patch, modify it (if needed) and send the patch to you, so you can try it on these operating systems?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043863</commentid>
    <comment_count>12</comment_count>
    <who name="Andi Clemens">andi.clemens</who>
    <bug_when>2010-11-13 13:15:52 +0000</bug_when>
    <thetext>SVN commit 1196422 by aclemens:

Check for correct symlink handling.

CCBUG: 140175


 M  +17 -7     kexiv2.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=1196422</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043865</commentid>
    <comment_count>13</comment_count>
    <who name="Andi Clemens">andi.clemens</who>
    <bug_when>2010-11-13 13:16:44 +0000</bug_when>
    <thetext>SVN commit 1196423 by aclemens:

Check for correct symlink handling.

CCBUG: 140175

 M  +14 -2     editorwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=1196423</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043866</commentid>
    <comment_count>14</comment_count>
    <who name="Andi Clemens">andi.clemens</who>
    <bug_when>2010-11-13 13:17:57 +0000</bug_when>
    <thetext>Gilles,

I added the patch to libkexiv2 and to digiKam, maybe you can test the other operating sytems now and close the bug if succeeded?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1053726</commentid>
    <comment_count>15</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2010-12-05 11:30:14 +0000</bug_when>
    <thetext>Under MacOS X, it&apos;s sound fine.  Symbolic links as like under Linux.

Under windows, Symbolic links do not exist. It&apos;s replaced by the windows shortcuts concept ?

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1053728</commentid>
    <comment_count>16</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2010-12-05 11:35:28 +0000</bug_when>
    <thetext>Under windows windows shortcuts concept is not supported as well by digiKam kioslave.

I suspect a problem in KUrl.

Typically, if i install digiKam through NSIS installer on a fresh XP computer, digiKam use by default USERS/My Images as root collection. In this folder, there is a shortcuts on common samples images provided by windows.

The link to this folder is visible under digiKam, but items are not displayable as thumbs/preview/edit... All operation fail as well, as metadata patch.

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1095203</commentid>
    <comment_count>17</comment_count>
    <who name="Andi Clemens">andi.clemens</who>
    <bug_when>2011-03-09 08:15:05 +0000</bug_when>
    <thetext>As far as I know, Windows doesn&apos;t have symbolic links, so the described error is ok in this case?
I guess we can close this bug if the patch works fine under Mac and Linux.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1139911</commentid>
    <comment_count>18</comment_count>
    <who name="Leif Huhn">lb.kdebugzilla</who>
    <bug_when>2011-07-09 14:39:13 +0000</bug_when>
    <thetext>SVN commit 1196422 from comment #12 is responsible for bug 275311.

I really like that digikam makes an attempt to follow symlinks when editing pictures.

However, this is interacting badly with the xmp sidecar code, because digikam is trying to put the sidecar next to the real file (when I think it makes more sense to put it near the symlink).  Ideally, I&apos;d like it if digikam tried to put the sidecar next to the symlink, but then checked if the sidecar was already a symlink and follow that before editing it.

Also, commit 1196422 has a surprising property.  It doesn&apos;t walk symlinks all the way down.  It only dereferences one.  It should probably resolve them farther (but not too far...avoid getting stuck in a loop).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1238252</commentid>
    <comment_count>19</comment_count>
    <who name="Marcel Wiesweg">marcel.wiesweg</who>
    <bug_when>2012-03-19 20:34:44 +0000</bug_when>
    <thetext>Symlink handling for sidecars has recently been improved, see bug 275311. Please check with current git or coming 2.6 if any issues still exist, I would like to make sidecars work for 2.6.

Is any other issue pending for the original, very old, bug report or can we close?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1414104</commentid>
    <comment_count>20</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2013-11-25 12:47:03 +0000</bug_when>
    <thetext>Following comment #17 from Andi, i close this file now...

Gilles Caulier</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>41806</attachid>
            <date>2010-03-21 18:01:42 +0000</date>
            <delta_ts>2010-03-21 18:30:25 +0000</delta_ts>
            <desc>Let the imag editor follow symlinks</desc>
            <filename>editor-use-symlinks.patch</filename>
            <type>text/plain</type>
            <size>1467</size>
            <attacher name="Johannes Wienke">languitar</attacher>
            
              <data encoding="base64">SW5kZXg6IHV0aWxpdGllcy9pbWFnZWVkaXRvci9lZGl0b3IvZWRpdG9yd2luZG93LmNwcAo9PT09
PT09PT09PT09PT09PT09PT09P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gICAgfQorCisgICAgICAg
IFFCeXRlQXJyYXkgZHN0RmlsZU5hbWUgPSBRRmlsZTo6ZW5jb2RlTmFtZShmaWxlTmFtZSk7CiAj
aWZuZGVmIF9XSU4zMgogICAgICAgICAvLyBTdG9yZSBvbGQgcGVybWlzc2lvbnM6CiAgICAgICAg
IC8vIEp1c3QgZ2V0IHRoZSBjdXJyZW50IHVtYXNrLgpAQCAtMTk3OSw3ICsxOTkxLDcgQEAKICAg
ICAgICAgLy8gS0RFIDQuMy4wCiAgICAgICAgIC8vIEtERTo6cmVuYW1lKCkgdGFrZXMgY2FyZSBv
ZiBRU3RyaW5nIC0+IGJ5dGVzdHJpbmcgZW5jb2RpbmcKICAgICAgICAgcmV0ID0gS0RFOjpyZW5h
bWUobV9zYXZpbmdDb250ZXh0LT5zYXZlVGVtcEZpbGVOYW1lLAotICAgICAgICAgICAgICAgICAg
ICAgICAgICAgbV9zYXZpbmdDb250ZXh0LT5kZXN0aW5hdGlvblVSTC50b0xvY2FsRmlsZSgpKTsK
KyAgICAgICAgICAgICAgICAgICAgICAgICAgZmlsZU5hbWUpOwogI2Vsc2UKICAgICAgICAgLy8g
S0RFIDQuMi54IG9yIDQuMS54CiAgICAgICAgIHJldCA9IEtERV9yZW5hbWUoUUZpbGU6OmVuY29k
ZU5hbWUobV9zYXZpbmdDb250ZXh0LT5zYXZlVGVtcEZpbGVOYW1lKSwK
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>41807</attachid>
            <date>2010-03-21 18:30:25 +0000</date>
            <delta_ts>2010-12-05 11:36:06 +0000</delta_ts>
            <desc>also don&apos;t remove symlinks when writing metadata</desc>
            <filename>digiKam-dont-destroy-symlinks.patch</filename>
            <type>text/plain</type>
            <size>2426</size>
            <attacher name="Johannes Wienke">languitar</attacher>
            
              <data encoding="base64">SW5kZXg6IGxpYnMvZG1ldGFkYXRhL2RtZXRhZGF0YS5jcHAKPT09PT09PT09PT09PT09PT09PT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2FkVXNpbmdEY3JhdyhmaWxlUGF0aCkpCisgICAgICAgIGlmICghbG9hZFVzaW5nRGNyYXco
ZmlsZU5hbWUpKQogICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgIH0KIApJbmRleDogdXRp
bGl0aWVzL2ltYWdlZWRpdG9yL2VkaXRvci9lZGl0b3J3aW5kb3cuY3BwCj09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0t
IHV0aWxpdGllcy9pbWFnZWVkaXRvci9lZGl0b3IvZWRpdG9yd2luZG93LmNwcAkocmV2aXNpb24g
MTEwNTg4OSkKKysrIHV0aWxpdGllcy9pbWFnZWVkaXRvci9lZGl0b3IvZWRpdG9yd2luZG93LmNw
cAkod29ya2luZyBjb3B5KQpAQCAtMTk1Miw3ICsxOTUyLDE5IEBACiAgICAgewogICAgICAgICBr
RGVidWcoKSA8PCAibW92aW5nIGEgbG9jYWwgZmlsZSI7CiAKLSAgICAgICAgUUJ5dGVBcnJheSBk
c3RGaWxlTmFtZSA9IFFGaWxlOjplbmNvZGVOYW1lKG1fc2F2aW5nQ29udGV4dC0+ZGVzdGluYXRp
b25VUkwudG9Mb2NhbEZpbGUoKSk7CisgICAgICAgIFFTdHJpbmcgZmlsZU5hbWUgPSBtX3Nhdmlu
Z0NvbnRleHQtPmRlc3RpbmF0aW9uVVJMLnRvTG9jYWxGaWxlKCk7CisKKyAgICAgICAgLy8gY2hl
Y2sgdGhhdCB3ZSdyZSBub3QgcmVwbGFjaW5nIGEgc3ltbGluaworICAgICAgICBRRmlsZUluZm8g
aW5mbyhmaWxlTmFtZSk7CisgICAgICAgIGlmIChpbmZvLmlzU3ltTGluaygpKQorICAgICAgICB7
CisgICAgICAgICAgICBmaWxlTmFtZSA9IGluZm8uc3ltTGlua1RhcmdldCgpOworICAgICAgICAg
ICAga0RlYnVnKCkgPDwgIlRhcmdldCBmaWxlUGF0aCIgPDwgbV9zYXZpbmdDb250ZXh0LT5kZXN0
aW5hdGlvblVSTC50b0xvY2FsRmlsZSgpCisgICAgICAgICAgICAgICAgICAgICA8PCAiaXMgYSBz
eW1saW5rIHBvaW50aW5nIHRvIgorICAgICAgICAgICAgICAgICAgICAgPDwgZmlsZU5hbWUgPDwg
Ii4gU3RvcmluZyBpbWFnZSB0aGVyZS4iOworICAgICAgICB9CisKKyAgICAgICAgUUJ5dGVBcnJh
eSBkc3RGaWxlTmFtZSA9IFFGaWxlOjplbmNvZGVOYW1lKGZpbGVOYW1lKTsKICNpZm5kZWYgX1dJ
TjMyCiAgICAgICAgIC8vIFN0b3JlIG9sZCBwZXJtaXNzaW9uczoKICAgICAgICAgLy8gSnVzdCBn
ZXQgdGhlIGN1cnJlbnQgdW1hc2suCkBAIC0xOTc5LDcgKzE5OTEsNyBAQAogICAgICAgICAvLyBL
REUgNC4zLjAKICAgICAgICAgLy8gS0RFOjpyZW5hbWUoKSB0YWtlcyBjYXJlIG9mIFFTdHJpbmcg
LT4gYnl0ZXN0cmluZyBlbmNvZGluZwogICAgICAgICByZXQgPSBLREU6OnJlbmFtZShtX3Nhdmlu
Z0NvbnRleHQtPnNhdmVUZW1wRmlsZU5hbWUsCi0gICAgICAgICAgICAgICAgICAgICAgICAgICBt
X3NhdmluZ0NvbnRleHQtPmRlc3RpbmF0aW9uVVJMLnRvTG9jYWxGaWxlKCkpOworICAgICAgICAg
ICAgICAgICAgICAgICAgICBmaWxlTmFtZSk7CiAjZWxzZQogICAgICAgICAvLyBLREUgNC4yLngg
b3IgNC4xLngKICAgICAgICAgcmV0ID0gS0RFX3JlbmFtZShRRmlsZTo6ZW5jb2RlTmFtZShtX3Nh
dmluZ0NvbnRleHQtPnNhdmVUZW1wRmlsZU5hbWUpLAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>