referemce:
https://www.smarthomebeginner.com/mount-virtualbox-shared-folder-on-ubuntu-linux/

  1. VirtualBox manager -> setting -> share folder -> add share folder -> 选择 "Auto-mount " "Make permanent"

  2. 打开VirtualBox虚拟机,共享文件夹 sf_xxxx 应该已经挂载到 /media文件夹下面了

  3. 共享文件夹的用户是vboxsf, 可通过ls -l查看文件夹状态。默认情况下,vboxsf并不具有读写权限。
    使用一下指令为vboxsf用户增加读写权限
    $ sudo usermod -a -G vboxsf USER

4)reboot,重启电脑

相关文章:

  • 2021-09-06
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
  • 2021-07-12
  • 2022-12-23
  • 2022-01-08
  • 2021-09-27
猜你喜欢
  • 2021-11-17
  • 2021-06-20
  • 2021-12-18
  • 2022-01-08
  • 2022-12-23
  • 2022-01-24
  • 2021-08-13
相关资源
相似解决方案