problems with shared folder in virtualbox
来源:互联网 发布:windows update不见了 编辑:程序博客网 时间:2024/05/18 02:20
共享文件夹的owner问题
把host上某个文件夹share给虚拟机会很方便,但是默认情况下是以root身份进行mount的,如果想换个用户,可以这样:mount -t vboxsf -o remount,gid=1000,uid=1000,rw dropbox /media/sf_dropbox
这里的-o
表示以指定的用户身份mount
参考:
http://superuser.com/questions/640027/why-cant-i-chown-a-virtualbox-shared-directory共享文件夹内建立符号链接的问题
在共享文件夹内,如果尝试ln -s
,会发现read only file system
之类的错误,需要这样:VBoxManage setextradata ${VM_NAME} VBoxInternal2/SharedFoldersEnableSymlinksCreate/${SHARE_NAME} 1
这里${VM_NAME}
是虚拟机名称,${SHARE_NAME}
是共享文件夹名称
记得设置完成后,关闭虚拟机,重启virtualbox程序!
参考:http://serverfault.com/questions/345341/cant-create-symlinks-in-virtualbox-shared-folders在后台运行虚拟机
VBoxHeadless --startvm "my vm name"
参考:http://unix.stackexchange.com/questions/128086/how-do-i-start-a-virtual-machine-in-background-upon-osx-system-start
- problems with shared folder in virtualbox
- Virtualbox set shared folder
- VirtualBox shared folder setup
- Vagrant can't mount shared folder in VirtualBox
- 关于virtualbox的shared folder
- VirtualBox Guest Additions & Shared folder
- VirtualBox的Shared folder功能出现broken shared folder错误
- VirtualBox设置Shared Folder的步骤
- VirtualBox Shared Folder from Ubuntu 12.04
- 使用virtualbox时的共享文件夹(shared folder) 问题
- Mounting a Shared VirtualBox Folder from an Ubuntu Guest
- Problems with EXC_BAD_ACCESS in CCBReader
- setting virtualbox share folder in windows7 system
- (OK) virtualbox networking problems in bridge mode
- Problems with S3C6410 double framebuffer in Android
- Problems with S3C6410 double framebuffer in Android
- virtualbox中访问默认挂载的shared folder时permission denied
- The shared folders setting of Ubuntu in Virtualbox
- dojo中的dgrid注意事项,每行的高度问题
- Erlang笔记(13) - Erlang 编译错误
- open CreateFile 函数
- datatable的使用
- openwrt下将lan口变为wan方法
- problems with shared folder in virtualbox
- C++设计模式之工厂方法模式
- gstreamer 学习笔记1
- RSA加密解密和数字签名
- java类,对象
- Android开发模板------本地缓存
- C++设计模式之访问者模式
- Volley 源码解析
- relocation R_X86_64_32S against `_nc_globals' can not be used when making a shared object; recompile