GNOME Bugzilla – Bug 678994
Unable to overwrite files on vbox shared mounted filesystems
Last modified: 2018-05-24 14:19:24 UTC
The problem lies in the Vboxfs implementation (it also exists for samba). When trying to append to text files in gedit, an error message is generated: "Error renaming temporary file: text file busy" The problem is with that gedit employees asynchronous saving procedure provided by glib: g_output_stream_close_async/g_output_stream_close_finish. Inside those procedures a renaming of the temporary file is done into the destination file, unfortunately the SMB/Vbox filesystem do not allow renaming opened files, thus the call to rename() finishes up with ETXTBSY error.
Created attachment 217435 [details] [review] proposed workaround This is a workaround for samba and "Virtual Box shared" filesystem which does not support renaming opened files and react on such attempt with ETXTBSY
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/565.