sytchenko

VirtualBox shared folder mount

Feb 16th, 2025 (edited)
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. Problem
  2. Mounted shared folder available only for root inside guest OS (Linux)
  3.  
  4. How to solve
  5. 1. Add user to vboxsf group:
  6. sudo usermod -aG vboxsf your_user_name
  7. 2. Reboot guest OS
  8.  
  9. Manual mount/unmount with access options:
  10. sudo umount /media/sf_Share
  11. sudo mount -t vboxsf -o rw,uid=$USER,gid=vboxsf,dmode=775,fmode=664 Share /media/sf_Share
Advertisement
Add Comment
Please, Sign In to add comment