Public bug reported:

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("/home/ooops/pictures/0new/DSCN1643.JPG", {st_mode=S_IFREG|0644, 
st_size=645713, ...}) = 0
lstat64("/home", {st_mode=S_IFLNK|0777, st_size=10, ...}) = 0
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

** Affects: gthumb (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
thumbnail problems with relative soft-links
https://bugs.launchpad.net/bugs/109579
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to