#639659 gthumb: can't import photos to cifs mounted folder

Package:
gthumb
Source:
gthumb
Description:
image viewer and browser
Submitter:
Yves-Alexis Perez
Date:
2011-08-29 06:24:03 UTC
Severity:
normal
#639659#5
Date:
2011-08-29 06:14:13 UTC
From:
To:
Package: gthumb
Version: 3:2.13.1-1
Severity: normal

Hey,

I have a weird interaction between gthumb and a cifs share. The share is
mounted through /etc/fstab (*not* gvfs), when I try to import photos
from my camera directly to the share, it fails (in fact the file is
created on the share, empty, and the gthumb progress bar hangs on the
first photo), and syslog shows:

[35365.714486] CIFS VFS: Error -32 sending data on socket to server
[35365.761336] CIFS VFS: Error -32 sending data on socket to server
[35365.816358] CIFS VFS: Error -32 sending data on socket to server
[35365.866355] CIFS VFS: Error -32 sending data on socket to server
[35365.912257] CIFS VFS: Error -32 sending data on socket to server
[35365.955429] CIFS VFS: Error -32 sending data on socket to server

Reading and writing on this share using other tools works just fine, and
even importing the photos on a local drive and moving them (from gthumb)
to the final location on the cifs share works just fine.

I'm not too sure what gthumb tries to do when it tries to create a photo
on a volume but it's definitely doing something which doesn't work in
cifs.

Regards,

#639659#10
Date:
2011-08-29 06:21:21 UTC
From:
To:
And even weirder, I can navigate to the camera folder in gthumb folder
list, select the pictures I want and copy them to the cifs folder just
fine. So it's definitely the “import” operation which does something
wrong, not sure why.

I'l try to strace it and see if something happens differently, but I'm
not sure the logs will be readable...

Regards,