has been done to automatically share folders, but now found unable to access, non-root users, using the "Ls/media/sf_bak" prompt does not have permission, of course, if you switch to root, it is possible.
"Resolution Process"
1, add the ordinary user name into the vboxsf. Because your user name is not vboxsf this user group.
Add Boarmy to vboxsf this user group below.
[email protected]: ~$ sudo adduser boarmy vboxsf
Adding user "Boarmy" to "vboxsf" group ...
Adding user "Boarmy" to the "vboxsf" group
Complete.
[email protected]: ~$
2. Go back to the command line:
[email protected]: ~$ ls/media/sf_bak
However, you still cannot access the shared folder.
3. Restart Ubuntu to see if it is useful.
The result is that you can actually use the shared folder:
http://blog.csdn.net/boarmy/article/details/19074473
--------------------------------------------------------------------------
I've done this before. You can automatically share folders:
"Resolved" Win7 cannot and VirtualBox in Ubuntu 13.04 shared folder
But now found unable to access, no permissions:
Even if it is:
?
123 |
[email protected]:~$ sudo chown -R crifan /media/sf_win7_to_ubuntu/ [email protected]:~$ sudo chown 777 /media/sf_win7_to_ubuntu/ [email protected]:~$ |
I still don't have permission.
"Resolution Process"
1. Reference:
[SOLVED] Can ' t access shared folder in VBox
Said to be the current user, Crifan, does not belong to "VirtualBox Guest Additions Installer" created by the user group vboxsf.
2. So to add the current user to the corresponding group to try:
Tried for a long while, cannot change.
3. To unlock:
can be modified, but still cannot add Crifan to vboxsf.
This user group cannot be found because of vboxsf.
4. You can only refer to the post, to use the command line operation:
?
12345 |
[email protected]:~$ sudo adduser crifan vboxsf 正在添加用户 "crifan" 到 "vboxsf" 组... 正在将用户“crifan”加入到“vboxsf”组中 完成。 [email protected]:~$ |
5. However, you still cannot access the shared folder.
Restart Ubuntu to see if it works.
The result is that you can actually use the shared folder:
Can really be achieved by:
Win7 copy a file to a shared folder, and then you can see it in Ubuntu.
Summary
But a problem was found:
In Ubuntu, copying a file from another folder to this shared folder Sf_win7_to_ubuntu results in a protocol error:
"Unresolved" VirtualBox access to shared folders in Ubuntu Error: protocol error
http://www.crifan.com/can_not_access_share_folder_in_ubuntu_virtualbox/
-------------------------------------------------------------------------------------------
Irtualbox shared folders are generally mounted under/media, with LL view will find that the owner of the folder is root, all groups are vboxsf, so file management to go inaccessible is normal, the solution is to add yourself to the VBOXSF group inside.
The code is as follows:
sudo usermod-a-G vboxsf Yourusernanme
Reboot, it's ready.
Http://www.jb51.net/os/Ubuntu/343237.html
Ubuntu in VirtualBox does not have permission to access the shared folder/media/sf_bak