

In this specific case, this is the automounted Shared Folder, Ubuntu 214153212 31893804 182259408 15% /media/sf_UbuntuĪnd it is that directory that should be used to access to the Shared Folder, by putting the local user into the vboxsf group. So you wouldn't worry about changing their permissions (which don't make sense on the Windows host), you just give yourself access. By adding your user to that group, you gain full access. # usermod -aG vboxsf īy default, without manual action, the mounts look like this, drwxrwx- 1 root vboxsf 40960 Oct 23 10:42 sf_ The regular way of getting access to the files now, is to allow VirtualBox to automount the shared folder (which will make it show up under /media/sf_directory_name) and then to add your regular Ubuntu user to the vboxsf group (as root #). Please note that I am in the group vboxsf: id Tried to use /media/sf_Ubuntu, but getting permission error: ls -lĭrwxrwx- 1 root vboxsf 4096 15:35 sf_Ubuntuĭrwxrwx- 2 root vboxsf 4096 23:41 sf_vbox_sharedĭr-xr-xr-x 6 m m 2048 07:19 cd sf_Ubuntu/īash: cd: sf_Ubuntu/: Permission cd sf_vbox_shared/īash: cd: sf_vbox_shared/: Permission denied The options in VM is automount and the readoly is not checked.

Here is the output of ls -l : -rwxrwxrwx 1 root root 0 19:17 BuildNotes.txtįilesystem 1K-blocks Used Available Use% Mounted on How can I change the ownership to myself?

When I open any file in the share folder in Ubuntu, I can not change it as its owner is set to root.

I am using Ubuntu on Virtual Box and I have a folder which is shared between the host (Windows) and the VM (Ubuntu).
