GNOME Bugzilla – Bug 760868
shotwell cannot write to vboxfs
Last modified: 2017-06-03 11:32:02 UTC
I'm using shotwell as provided by ubuntu (shotwell -V: Shotwell 0.22.0; Version of deb file: 0.22.0-2ubuntu1). When importing Pictures to a a folder on a vboxfs mounted folder, the import fails (no pictures are added). Host system is Windows 10, file system is NTFS, client system is Ubuntu. using SHOTWELL_LOG=1 shotwell and cat .cache/shotwell/shotwell.log shows: [...] L 8414 2016-01-20 01:14:15 [MSG] LibraryFiles.vala:86: There was a problem copying /home/<someusername>/Downloads/<somepicture>.jpg: Error renaming temporary file: Text file busy L 8414 2016-01-20 01:14:15 [DBG] BatchImport.vala:1967: Importing /home/<someusername>/Pictures/<somedate>/<somepicture>.jpg L 8414 2016-01-20 01:14:15 [WRN] Photo.vala:1182: Unable to interrogate photo file /home/<someusername>/Pictures/<somedate>/<somepicture>.jpg: Unexpected early end-of-stream L 8414 2016-01-20 01:14:15 [DBG] BatchImport.vala:1987: Deleting failed imported copy /home/<someusername>/Pictures/<somedate>/<somepicture>.jpg [...] likely related bug: https://bugzilla.gnome.org/show_bug.cgi?id=656225 The proposed glib patch was not included upstream, for geany there is a workaround "Edit > Prefs > Various > use_atomic_file_saving: checked". As glib seemingly wont fix this soon, this might be an easy fix for shotwell as well. Thanks in advance.
Created attachment 352591 [details] [review] Use traditonal copy if target fs does not support GIO
Created attachment 353109 [details] [review] Fixes issue