[Digikam-users] bad handling of symbolic links?

Pedro Venda pjvenda at pjvenda.org
Tue Jan 16 13:17:42 GMT 2007


Hi everyone,

I found some problems when handling symbolic links with digikam. I'm not sure 
what's causing it... oh, I'm using digikam-0.9.1-svn updated yesterday.

I'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 at archon ... $ ls -l 20061231T180626.JPG ../20061231T180626.JPG
... 3569645 Jan  2 01:34 ../20061231T180626.JPG
...      22 Jan 16 12:50 20061231T180626.JPG -> ../20061231T180626.JPG

after:
pjlv at 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 "fool" digikam, but 
nevertheless, it should handle symlinks like symlinks.

I know the correct place to do this bug report is the bugzilla database, but I 
haven't got the time to do that right now, so I sent this mail in advance. 
Maybe it's something easy to fix?

Best regards,
-- 

Pedro João Lopes Venda
email: pjvenda at pjvenda org
http://www.pjvenda.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20070116/43b28418/attachment.sig>


More information about the Digikam-users mailing list