After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 678994 - Unable to overwrite files on vbox shared mounted filesystems
Unable to overwrite files on vbox shared mounted filesystems
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: gio
2.32.x
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2012-06-27 17:33 UTC by Tomasz Wisniewski
Modified: 2018-05-24 14:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed workaround (3.76 KB, patch)
2012-06-27 17:48 UTC, Tomasz Wisniewski
none Details | Review

Description Tomasz Wisniewski 2012-06-27 17:33:03 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.
Comment 1 Tomasz Wisniewski 2012-06-27 17:48:33 UTC
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
Comment 2 GNOME Infrastructure Team 2018-05-24 14:19:24 UTC
-- 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.