Unexpected error: Text File Busy!shared text file!
-
iiiyyyhhhsss
- Posts: 42
- Joined: 17. Apr 2010, 19:21
- Primary OS: MS Windows 7
- VBox Version: OSE Fedora
- Guest OSses: fedora12
Unexpected error: Text File Busy!shared text file!
my host os : windows7
my guest os : fedora12
my shared folder (not only-read) : D:\
I run the following command on my guest os(fedora12):
su
password
mount -t vboxsf -o uid=1000,gid=1000 d_drive /home/hub/d
Then,I can do many things to the folder "/home/hub/d",such as creating a file,deleting a file,copying a file,and so on.
But, I can't save data to the file in the "home/hub/d" directly;
For Example,there is a file "abc.txt" in the folder "/hub/d". I modified it through the "gedit text editor";
But when i save the file "abc.txt",I get:
unexpected error,text is in busy!
why?
How can I save my datas directly to the folder "/hub/d"? Attention: "saving data directly",not "copying the data"!
my guest os : fedora12
my shared folder (not only-read) : D:\
I run the following command on my guest os(fedora12):
su
password
mount -t vboxsf -o uid=1000,gid=1000 d_drive /home/hub/d
Then,I can do many things to the folder "/home/hub/d",such as creating a file,deleting a file,copying a file,and so on.
But, I can't save data to the file in the "home/hub/d" directly;
For Example,there is a file "abc.txt" in the folder "/hub/d". I modified it through the "gedit text editor";
But when i save the file "abc.txt",I get:
unexpected error,text is in busy!
why?
How can I save my datas directly to the folder "/hub/d"? Attention: "saving data directly",not "copying the data"!
Last edited by iiiyyyhhhsss on 18. Apr 2010, 08:51, edited 3 times in total.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: a very difficult issue about shared folder!saving data!
I am not familiar with the folder "hub" in Linux.
Did you create it yourself? If so who holds the permissions and are you sure that you have the proper permissions to do what it is you need to do?
Typically I use /mnt/<share name> and do not have permission problems.
Also spaces and characters in the share name can cause a lot of problems. So using "_" in the share name might also be causing some problems.
Did you create it yourself? If so who holds the permissions and are you sure that you have the proper permissions to do what it is you need to do?
Typically I use /mnt/<share name> and do not have permission problems.
Also spaces and characters in the share name can cause a lot of problems. So using "_" in the share name might also be causing some problems.
-
iiiyyyhhhsss
- Posts: 42
- Joined: 17. Apr 2010, 19:21
- Primary OS: MS Windows 7
- VBox Version: OSE Fedora
- Guest OSses: fedora12
Re: a very difficult issue about shared folder!saving data!
i am sorry, the path should be /home/hub/d
-
iiiyyyhhhsss
- Posts: 42
- Joined: 17. Apr 2010, 19:21
- Primary OS: MS Windows 7
- VBox Version: OSE Fedora
- Guest OSses: fedora12
Re: a very difficult issue about shared folder!saving data!
I have check the permissions of all the files and folders in "/home/hub/d";
The permissions of all the files and folders in "/home/hub/d" are "drwxrwxrwx";
And root holds the permissions of"/home/hub/d"
The permissions of all the files and folders in "/home/hub/d" are "drwxrwxrwx";
And root holds the permissions of"/home/hub/d"
-
iiiyyyhhhsss
- Posts: 42
- Joined: 17. Apr 2010, 19:21
- Primary OS: MS Windows 7
- VBox Version: OSE Fedora
- Guest OSses: fedora12
Re: a very difficult issue about shared folder!saving data!
Perryg wrote:I am not familiar with the folder "hub" in Linux.
Did you create it yourself? If so who holds the permissions and are you sure that you have the proper permissions to do what it is you need to do?
Typically I use /mnt/<share name> and do not have permission problems.
Also spaces and characters in the share name can cause a lot of problems. So using "_" in the share name might also be causing some problems.
Can you save data directly to the file in the shared folder in guest os through gedit?
Last edited by iiiyyyhhhsss on 18. Apr 2010, 09:09, edited 1 time in total.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: a very difficult issue about shared folder!saving data!
Yes I can. No problem.
-
iiiyyyhhhsss
- Posts: 42
- Joined: 17. Apr 2010, 19:21
- Primary OS: MS Windows 7
- VBox Version: OSE Fedora
- Guest OSses: fedora12
Re: a very difficult issue about shared folder!saving data!
Perryg wrote:Yes I can. No problem.
Are You Cheating Me?
I have found that this is a bug.
And the bug hasn't been solved yet.
Refering to:
http://www.uluga.ubuntuforums.org/showt ... ?p=6820173
http://www.virtualbox.org/ticket/2553
http://forums.virtualbox.org/viewtopic.php?f=3&t=15868
http://ubuntuforums.org/archive/index.php/t-973654.html
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Unexpected error: Text File Busy!shared text file!
Nope not cheating you. I can and do create files and save them all the time.
I do not use my home folder though, as I stated I use the /mnt folder (old fashioned Linux user) and only had a problem once with gedit not working properly and that was not VBox fault it was gedit. Even that has been fixed now and I tested it again yesterday and today. No problem.
If you read the ticket even the DEVs can not reproduce this.
Why not try changing the mount point to the /mnt folder? Do not change any permissions on the /mnt folder and see what happens.
mount -t vboxsf <share-name> /mnt/<mount-point>
Also no spaces,caps, or characters in the <share-name>.
Something like this
mount -t vboxsf myshare /mnt/sharedrive
I do not use my home folder though, as I stated I use the /mnt folder (old fashioned Linux user) and only had a problem once with gedit not working properly and that was not VBox fault it was gedit. Even that has been fixed now and I tested it again yesterday and today. No problem.
If you read the ticket even the DEVs can not reproduce this.
Why not try changing the mount point to the /mnt folder? Do not change any permissions on the /mnt folder and see what happens.
mount -t vboxsf <share-name> /mnt/<mount-point>
Also no spaces,caps, or characters in the <share-name>.
Something like this
mount -t vboxsf myshare /mnt/sharedrive
-
petur
- Posts: 7
- Joined: 2. Jul 2009, 21:17
- Primary OS: Ubuntu other
- VBox Version: OSE other
- Guest OSses: W2K, XP
Re: Unexpected error: Text File Busy!shared text file!
Sorry to bump into this thread, but I'm experiencing the exact same issue.Perryg wrote:Nope not cheating you. I can and do create files and save them all the time.
I do not use my home folder though, as I stated I use the /mnt folder (old fashioned Linux user) and only had a problem once with gedit not working properly and that was not VBox fault it was gedit. Even that has been fixed now and I tested it again yesterday and today. No problem.
If you read the ticket even the DEVs can not reproduce this.
Why not try changing the mount point to the /mnt folder? Do not change any permissions on the /mnt folder and see what happens.
mount -t vboxsf <share-name> /mnt/<mount-point>
Also no spaces,caps, or characters in the <share-name>.
Something like this
mount -t vboxsf myshare /mnt/sharedrive
Host = Windows XP
Client = Moblin 2.1
trying to mount under /mnt/sharedrive I can create files, open existing ones, but gedit gives the above mentioned error.
If I do something simple like echo test > test.txt it works fine
would appreciate some help debugging this
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Unexpected error: Text File Busy!shared text file!
About the only thing I can tell you is to use something other then gedit, like kate.
It has been reported to not work although they have improved it some and it appears to work for some now.
It has been reported to not work although they have improved it some and it appears to work for some now.
-
petur
- Posts: 7
- Joined: 2. Jul 2009, 21:17
- Primary OS: Ubuntu other
- VBox Version: OSE other
- Guest OSses: W2K, XP
Re: Unexpected error: Text File Busy!shared text file!
ok, thanks. I'll look towards another editor then....