mount USB device in Ubuntu located in Virtualbox in Win7

from: http://husince.blog.163.com/blog/static/5705835920111165519859/
Today I remounted the USB device and shared folder in the virtualbox ubuntu because the access authority of folders and files in USB device was not allowed to modify in default mount condition.
Detail:
ls -all
then displayed in console is:
-rw------ abc.pl
The command "sudo chmod -R 777 * " did not work at all.
The trick is to edit settings in /etc/fstab
By using "System"->"Administration"->"Disk Uility", you can easily know the USB device name.
Return to console:
sudo gedit /etc/fstab
add following commands in the bottom of /etc/fstab
E_DRIVE /media/E vboxsf rw,umask=000 0 0
/dev/sdb1 /media/usb1 ntfs rw,umask=000 0 0
save and restart
Then you can find every files in USB device are able to be modified.
Of course, this approach may lower the security of access.
 
 
 
posted @ 2013-06-02 20:50  youJumpILook  阅读(235)  评论(0编辑  收藏  举报