解决 VirtualBox里Ubuntu的共享文件夹无法访问 之问题
来源:互联网 发布:php开发手册 pdf 编辑:程序博客网 时间:2024/04/29 12:21
原文标题:You do not have the permissions necessary to view the contents of ‘shared_folder’
原文链接:http://darrenma.wordpress.com/2012/07/18/you-do-not-have-the-permissions-necessary-to-view-the-contents-of-shared_folder/
转载于此。其实最重要的就是文末的最后一条命令。
sudo usermod -a -G vboxsf darren
darren是你自己的用户名。比如我的是xwchen。
使用这个命令后,如果不能马上生效,需要重启一下系统。
这样,我在Windows里共享给VirtualBox里Ubuntu的文件夹就能访问了。
I develop within Virtualbox(VB). Often I need to be able to share files and folders between my host machine(the machine VB is installed on) and my client machine(the OS installed in VB, in this case Ubuntu).
It’s easy to share a folder. If you follow these steps:
1) Open Virtualbox, select your OS on the left then click on Shared Folders on the right.
2) Click on the Green cross on the top right to add a new Shared Folder
3) Fill out the form by selecting which folder you want to shared between your machines. Check auto mount and Save.
4) Start up your Ubuntu now and navigate to /media and you will see your shared folder.
Easy right? But it’s not over. If you try to open this shared folder you’ll probably land up with this error: “You do not have the permissions necessary to view the contents of ‘shared_folder’ “
To fix this you need to add the correct permission group to your user. (Resource) but seeing as I use Ubuntu 12.04 I was unable to find Manage Groups anywhere. It seems that it’s hidden under gnome 2. (Resource)
If you are like me and want to install as little extra stuff onto your machine as possible then instead of using gnome tools or ubuntu tweak to manage the groups lets use the terminal. Just type
sudo
usermod
-a -G vboxsf darren
(and replace ‘darren’ with your username)
*NOTE the change will only be visible once you logout and login again! (Resource)
There you go. Now if you go to /media/ you’ll be able to see your shared folder and access it. I also like to make a symlink from there to my home directory to make it even easier to access.
- 解决 VirtualBox里Ubuntu的共享文件夹无法访问 之问题
- virtualBox共享文件夹的问题
- VirtualBox下实现Ubuntu共享虚拟文件夹遇到的问题
- 关于安装在VirtualBox中ubuntu共享文件夹的问题
- 解决virtualbox下共享文件夹权限问题
- Ubuntu挂载VirtualBox的共享文件夹
- VirtualBox虚拟机里linux ubuntu文件夹共享设置教程
- virtualbox+ubuntu设置共享文件夹
- virtualbox+ubuntu设置共享文件夹
- virtualbox+ubuntu设置共享文件夹
- virtualbox+ubuntu设置共享文件夹
- virtualbox+ubuntu设置共享文件夹
- virtualBox中的ubuntu共享文件夹
- virtualbox+ubuntu设置共享文件夹
- virtualbox+ubuntu设置共享文件夹
- virtualbox+ubuntu设置共享文件夹
- virtualbox+ubuntu设置共享文件夹
- virtualbox+ubuntu设置共享文件夹
- readprocessmemory error 299
- C# 动态调用WebService
- Uva 11729 Commando War - 水题 - 贪心
- 对比语法错误、语义错误以及运行时错误
- linux rsync详解
- 解决 VirtualBox里Ubuntu的共享文件夹无法访问 之问题
- 为什么使用 SLF4J 而不是 Log4J 来做 Java 日志
- Hibernate中的CRUD_cascade_fetch问题解决分析(一)
- LeetCode Wildcard Matching 优化动态规划法和迭代算法
- ADT 17之后的版本 添加jar包的方法
- Android---优化下载让网络访问更高效(三)
- taskTracker和jobTracker 启动失败
- js给页面加style
- FTP 协议介绍