Shared Folders and gedit

Discussions related to using VirtualBox on Windows hosts.
Post Reply
EgonF
Posts: 53
Joined: 3. Oct 2010, 12:24
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: MX Linux

Shared Folders and gedit

Post by EgonF »

If a file in a shared folder (under Windows 7) is opened by gedit, a temporal file is created with a name like '.goutputstream-xyz' in the shared folder.

After editing the file saving is not possible because gedit cannot rename the temporal file. In German the error is "Unerwarteter Fehler: Fehler beim Umbenennen der temporären Datei: Das Programm kann nicht ausgeführt oder verändert werden (busy)"
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Shared Folders and gedit

Post by Perryg »

Which Windows folder are you sharing? Is it located in your name space?
What is the mount statement you are using on the guest?
EgonF
Posts: 53
Joined: 3. Oct 2010, 12:24
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: MX Linux

Re: Shared Folders and gedit

Post by EgonF »

My mount-statement is

WinDok /home/WinDok vboxsf defaults 0 0

WinDok is a folder in C:
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Shared Folders and gedit

Post by Perryg »

WinDok /home/WinDok vboxsf defaults 0 0
Are you putting this in the fstab or rc.local

Try using the the mount below in your rc.local (comment out the other command you are using)
mount -t vboxsf -o rw,uid=1000,gid=1000 WinDok /home/WinDok
(replace the uid and gid with your user id)
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Shared Folders and gedit

Post by Sasquatch »

The problem is Gedit, nothing more. This isn't much that the VB team can solve, as gedit is the only program that has problems with this. It's proof that gedit is written very poorly and has some major bugs in it that the devs don't care about. You're better off using a different editor, like Mousepad or Leafpad. If you really want to use gedit, then copy the file to the local file system, edit it and then copy it back.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
jorgensen
Posts: 589
Joined: 20. Oct 2009, 01:22
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows

Re: Shared Folders and gedit

Post by jorgensen »

Sasquatch wrote:The problem is Gedit, nothing more. This isn't much that the VB team can solve, as gedit is the only program that has problems with this.
I have experienced this many times when installing programs from a VB shared folder where the program sometimes indicate it has to do with a temp folder. There is no problem using Windows own fileshare.
EgonF
Posts: 53
Joined: 3. Oct 2010, 12:24
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: MX Linux

Re: Shared Folders and gedit

Post by EgonF »

The same problem with Shotwell.
Post Reply