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,274
  • 10
  • 35
  • 47
The Quantum Physicist
  • 712
  • 3
  • 17
  • 34
  • 3
    Got it! The right command is: sudo mount -t vboxsf -o rw -o uid=1000 -o gid=1000 -o dmode=755 -o fmode=755 Dropbox ~/Dropbox/ Thanks for who tried to help :) – The Quantum Physicist May 21 '12 at 14:55

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.

Isaac Rabinovitch
  • 2,804
  • 1
  • 23
  • 30
xpt
  • 8,261
  • 38
  • 102
  • 156