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
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.
$ cd sf_MyProjectFolder`
-bash: cd: sf_MyProjectFolder/: Permission denied
I tried with
chmod but I still get permission problems. What am I doing wrong?