Shared folders are cached?
Posted: 19. Feb 2014, 16:47
Hi,
I'm having a problem with shared folders. Basically, I need to be able to created and delete files from both the host and guest.
The host is Windows 7 64-bit
The guest is Xubuntu 12.04, 64-bit
I'm running VirtualBox 4.3.6 r91406
I created the shared folder on the host in "D:\shared" and called it "shared". I tried using Auto Mount or mounting is myself and here is what's happening:
- I create a folder on the guest (mkdir test)
- I delete this new folder on the host
- I run "ls", and the folder doesn't appear, which is normal because I just deleted it
- However, if I run "mkdir test" again to recreate it, then I get this error message: "mkdir: cannot create directory `test`: File exists"
If I unmount and remount the shared folder, then I can delete it, but obviously I don't want to do that.
Here is the command that I'm using to mount the folder:
sudo mount -t vboxsf share /media/share
I also tried these mount commands:
sudo mount.vboxsf -w -o fmode=0777,dmode=0777 share /media/share
sudo mount -t vboxsf -o uid=1000,gid=1000 share /media/share
Like I said earlier, I also tried the automounted /media/sf_share and it still doesn't work...
Any idea of what I am doing wrong or how I can solve my problem?
Thanks!
I'm having a problem with shared folders. Basically, I need to be able to created and delete files from both the host and guest.
The host is Windows 7 64-bit
The guest is Xubuntu 12.04, 64-bit
I'm running VirtualBox 4.3.6 r91406
I created the shared folder on the host in "D:\shared" and called it "shared". I tried using Auto Mount or mounting is myself and here is what's happening:
- I create a folder on the guest (mkdir test)
- I delete this new folder on the host
- I run "ls", and the folder doesn't appear, which is normal because I just deleted it
- However, if I run "mkdir test" again to recreate it, then I get this error message: "mkdir: cannot create directory `test`: File exists"
If I unmount and remount the shared folder, then I can delete it, but obviously I don't want to do that.
Here is the command that I'm using to mount the folder:
sudo mount -t vboxsf share /media/share
I also tried these mount commands:
sudo mount.vboxsf -w -o fmode=0777,dmode=0777 share /media/share
sudo mount -t vboxsf -o uid=1000,gid=1000 share /media/share
Like I said earlier, I also tried the automounted /media/sf_share and it still doesn't work...
Any idea of what I am doing wrong or how I can solve my problem?
Thanks!