Virtualbox shared folder permissions

前端 未结 11 2094
长情又很酷
长情又很酷 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:25

    After adding the user to the vboxsf group, you might need to completely log out of the gnome/xfce/??? session, because someone long ago decided that group affiliation should be cached at first login to the window system.

    Or go old school:

    % newgrp vboxsf
    

    in any shell you want to use to access the folder. Luckily, newgrp looks up the group list for itself and doesn't used the cached values. You'll still need to log out and back in to access the folder from something other than a shell.

提交回复
热议问题