Virtualbox shared folder permissions

前端 未结 11 2023
长情又很酷
长情又很酷 2020-12-22 15:27

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.

H

11条回答
  •  囚心锁ツ
    2020-12-22 16:10

    Add yourself to the vboxsf group within the guest VM.

    Solution 1

    Run sudo adduser $USER vboxsf from terminal.
    (On Suse it's sudo usermod --append --groups vboxsf $USER)

    To take effect you should log out and then log in, or you may need to reboot.

    Solution 2

    Edit the file /etc/group (you will need root privileges). Look for the line vboxsf:x:999 and add at the end :yourusername -- use this solution if you don't have sudo.

    To take effect you should log out and then log in, or you may need to reboot.

提交回复
热议问题