9

I'm using the following command to mount my folder in VirtualBox:

sudo \mount -t vboxsf -o rw -o uid=1000 -o gid=1000 Dropbox ~/Dropbox/

However, the folder is read-only. I re-installed Guest additions, and made sure the folder is not set as read-only in VirtualBox.

What's the right command to gain write permissions?

Linger
  • 3,332
  • 10
  • 38
  • 47
The Quantum Physicist
  • 770
  • 4
  • 18
  • 36

1 Answers1

5

The right command is:

sudo mount -t vboxsf -o rw,uid=1000,gid=1000,dmode=755,fmode=644 Dropbox ~/Dropbox/ 

Notice the fmode.

xpt
  • 9,385
  • 44
  • 120
  • 178