VirtualBox: vboxsf filesystem wrongly detected as readonly?
I have VirtualBox (Windows XP host) running a CentOS 6.0 virtual machine, with one shared folder.
Here is the list of mounted devices:
[root@localhost ~]# mount -l
...
www on /media/sf_www type vboxsf (gid=501,rw)
Looks like it’s read/write.
Now if I try to write on this shared folder:
[root@localhost ~]# touch /media/sf_www/test
touch: cannot touch `/media/sf_www/test': Read-only file system
Any idea about what I’m doing wrong?
Edit: just tried to manually mount it elsewhere, same problem:
[root@localhost ~]# mount.vboxsf -w www /mnt/www
[root@localhost ~]# mount -l
...
www on /media/sf_www type vboxsf (gid=501,rw)
www on /mnt/www type vboxsf (rw)
[root@localhost ~]# touch /mnt/www/test
touch: cannot touch `/mnt/www/test': Read-only file system
Note: the www folder is writeable on my host machine.
– Answer –
- 5 December 2011: Answer by Benjamin for VirtualBox: vboxsf filesystem wrongly detected as readonly? -
Ok, I found the solution. Actually, I changed my shared folder from readonly to "read/write" while the machine was running, then rebooted the machine.
The solution was simply to properly shut down the machine, then start it again.
- 5 December 2011: VirtualBox: vboxsf filesystem wrongly detected as readonly? -
I have VirtualBox (Windows XP host) running a CentOS 6.0 virtual machine, with one shared folder.
Here is the list of mounted devices:
[root@localhost ~]# mount -l ... www on /media/sf_www type vboxsf (gid=501,rw)Looks like it's read/write.
Now if I try to write on this shared folder:
[root@localhost ~]# touch /media/sf_www/test touch: cannot touch `/media/sf_www/test': Read-only file systemAny idea about what I'm doing wrong?
Edit: just tried to manually mount it elsewhere, same problem:
[root@localhost ~]# mount.vboxsf -w www /mnt/www [root@localhost ~]# mount -l ... www on /media/sf_www type vboxsf (gid=501,rw) www on /mnt/www type vboxsf (rw) [root@localhost ~]# touch /mnt/www/test touch: cannot touch `/mnt/www/test': Read-only file systemNote: the
wwwfolder is writeable on my host machine.
December 12th, 2011 at 10:14 pm
Great website…
[...]we like to honor many other internet sites on the web, even if they aren’t linked to us, by linking to them. Under are some webpages worth checking out[...]……