thumbnail problems with relative soft-links
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gThumb |
Fix Released
|
Medium
|
|||
gthumb (Ubuntu) |
Fix Released
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: gthumb
I have a non-standard setup regarding my home directory. Instead of hard-mounting a partition to /home II use a symbolic link pointing /media/sda5 which is the actual. The problem is that if I create the link as a relative link
cd /; ln -s media/sda5 home
I get an error message (see strace below) in case a thumbnail is accesses by gthumb. Clearly the lstat64 to '/sda5' is nonsense. No thumbnails are shown because they are apparently not found. In case I create the link as
cd /; ln -s /media/sda5 /home
everything is fine. Nautilus also did not show thumbnails until I deleted ~/.thumbnails. After that at least nautilus displayed thumbnails again. However, in case of gthumb only setting the link works. So I am not sure if this a library problem (have no idea, what code is shared regarding thumbnails between nautilus and gthumb). But in any case some code wrt. to thumbnails following symbolic links is buggy.
Kind regards, Peter
===
lstat64(
lstat64("/home", {st_mode=
readlink("/home", "media/sda5", 256) = 10
lstat64("/sda5", 0xbfc5fbfc) = -1 ENOENT (No such file or directory)
write(2, "\n** (gthumb:6358): WARNING **: F"..., 47
** (gthumb:6358): WARNING **: File not found
Changed in gthumb: | |
status: | Unknown → Fix Released |
Changed in gthumb: | |
status: | Fix Committed → Fix Released |
Changed in gthumb: | |
importance: | Unknown → Medium |
What version of gthumb do you have?
- Mike