Note that changing file permissions changes them not only for the virtual computer, but for the real one too! Therefore, the method described above cannot be considered ideal. This command will create and modify new files and directories in the shared folder: The only way to make the folder readable was by changing the access rights to it with chmod. I tried to change the owner of the folder and its contents using chown:īut this did not work either - the owner of this folder was still root. SHARE_NAME /PATH/TO/POINT/MOUNT vboxsf gid=141ĐĐīut both of these methods did not work in my case. Or add a line like this to the /etc/fstab file: Sudo mount -t vboxsf -o 'uid=1000,gid=141' SHARE_NAME /PATH/TO/POINT/MOUNT Check the Auto-mountoption and click on OKto save the changes. Right-click on the Shared Folderand select Edit Shared Folder. The vboxsf filesystem has uid= and gid= mount options, you can try them with commands like: In this case, the value is 0664 which means that the owner of the file and the group will have read and write permissions while other users will only have read. In VirtualBox, navigate to Settings > Shared Folders.
0 Comments
Leave a Reply. |