Unable to overwrite files on vbox shared mounted filesystems
Submitted by Tomasz Wisniewski
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.