1. 程式人生 > >在VirtualBox ubuntu/linux虛擬機中掛載mount共享文件夾

在VirtualBox ubuntu/linux虛擬機中掛載mount共享文件夾

文件夾 .com rem inux 情況 vbo man ner manage

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,重啟電腦

在VirtualBox ubuntu/linux虛擬機中掛載mount共享文件夾