F
F
furyon2016-01-16 23:17:52
virtual box
furyon, 2016-01-16 23:17:52

How to set permissions for a shared folder in VirtualBox?

Hello!
In general, I can not solve the problem.
I myself on Windows, installed Ubuntu on virtual box, made a shared folder using virtual box.
But now I need to set permissions to 777 on this folder. Chmod does not help.
I understand that I can add my user to the vboxsf group to manage the folder, but I need exactly 7-ku for guests.
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Tsilyurik, 2016-01-17
@furyon

I myself on Windows, installed Ubuntu on virtual box, made a shared folder using virtual box.

In VirtualBox shared folders can be defined (in VM settings) in 2 ways: a). with auto-connection and b). with manual mounting.
With automount (conveniently) directories are always mounted with the rights that VirtualBox mounts.
Without automount, you mount a directory in the guest machine with a mount command, and you can set any permissions on it. You need to tinker with it, but then you can save the mount command with a script.
cac1f8774ce34dd9839e5c9c2d88f04f.png

D
Dimonchik, 2016-01-16
@dimonchik2013

it won’t work, the question is periodically raised
if the folder in Ubuntu is visible from Windows - focus on what is there - on the rights that you set in Box

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question