I'm using VirtualBox and I'm trying to run a program (that I wrote in C on my host machine) on a guest machine using Lubuntu 16.04 in CLI. In order to do so I need to share the project folder with the guest machine, but I'm having several problems to access it.
I created a shared folder with the given menu in VBox, with a correct path, naming it "MyProjectFolder". Moving with cd
and ls
inside the guest OS I managed to find /media/sf_MyProjectFolder
but whenever I try to access it I get a permission denied error.
Running:
$ cd sf_MyProjectFolder`
I get:
-bash: cd: sf_MyProjectFolder/: Permission denied
I tried with chmod
but I still get permission problems. What am I doing wrong?
ls -ld /media/sf_MyProjectFolder
andgroups
commands.