Virtualbox shared folder permissions

2019-01-29 14:41发布

I'm using Windows and Virtualbox with RedHat, putting it simple: I've created a shared folder so I can use Eclipse on my Windows OS and do some testing in Linux.

However, I can't access the shared folder with my user, I've logged in with root and used chmod 777 and even moved my user to the folder's group.

Whatever I do the result is the same:

/media/sf_sharedFolder/: Permission denied

What can I do? How can I access the shared folder with my user?

8条回答
Bombasti
2楼-- · 2019-01-29 15:33

To clarify the last post:

The VBoxManage command is:

VBoxManage setextradata <VM_NAME> VBoxInternal2/SharedFoldersEnableSymlinksCreate/<SHARE_NAME> 1
查看更多
Deceive 欺骗
3楼-- · 2019-01-29 15:41

This also works

sudo usermod -aG <group> <user>

Then restart vm

查看更多
登录 后发表回答