I have a shared folder between Xubuntu 16.04 (host) and Xubuntu 17.10 (guest). I have given write permission via virtualbox, but still I don't have permissions to edit the files on the guest system.
That is, because the folder is mounted to the guest system by
sudo mount -t vboxsf folder share
In the host system the folder
is owned by the normal user and writable. But when mounted in guest, its owned by root
and not writable for others
. And when I try to change it via sudo chmod
or sudo chown
there is no effect.
In another Question it was answered, that you should give chmod 777
to all files on the host system. But thats not something I want to do because I don't see why this should be necessary to do. Giving all permissions to all users on my host system cant be the best way.
I already added my guest user to the vboxsf
group but that didn't change anything. I guess, I would need to mount the shared folder somehow not by root.
775
and the group isvboxsf
, to which you add any user who needs write access. – fkraiem Nov 22 '17 at 01:29