XP Host, Ubuntu Guest, howto set shared folder mode to 777?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
bguan
Posts: 3
Joined: 2. Jun 2007, 22:05

XP Host, Ubuntu Guest, howto set shared folder mode to 777?

Post by bguan »

I am running VBOX 1.3.8 on a XP host, and a Ubuntu guest VM using host interface. All working so far.

I am able to access a folder on a FAT32 partition from ubuntu guest, and all directories seem to have default mode 777 while regular files are 666.

With this config, I can't execute shell scripts from ubuntu in this shared folder!

How can I change the mount option to make all files mode 777?

Many thanks.
bodhi.zazen
Volunteer
Posts: 180
Joined: 17. May 2007, 16:02

Post by bodhi.zazen »

You have to mount with an umask option :

mount .... -o umask=000
If is a virtual machine, is it still broken ?
subxero37
Posts: 1
Joined: 4. Jul 2007, 18:42

Post by subxero37 »

I was looking for the same information and came across this post...

However, the suggestion does not work.

mount -t vboxsf -o umask=000 FBOS /media/fbos
tells me that umask is an invalid option and gives me a list of other options to try, none of which would alleviate the permissions problems.

I'm developing a program that requires certain Linux-only tools to work properly, and since I primarily use Windows, this is the best way for me to work on the project. I need the files to be available for both reading and writing to all users on the virtual machine.
Post Reply