What I'm trying to do is symlinking a shared folder between my Mac and my Ubuntu VM.
The shared folders on the VM are going in
On my Mac I symlink the directory (let's say
macdirectory) to the shared folder
sharedfolder so when I compile and put a file there, it follows to the VM directory where the application is running.
What I'm trying to do in my VM is this:
sudo ln -s ~/linuxdirectory /mnt/hgfs/sharedfolder
but then I get this error message:
ln: failed to create symbolic link '/mnt/hgfs/sharedfolder/linuxdirectory'
With my many attempts to make this symlink, I may have done bad links. This is the result of
ls -la /mnt/hgfs/sharedfolder/
drwxr-xr-x 1 502 dialout 102 Jun 30 22:30 . dr-xr-xr-x 1 root root 4192 Jun 30 23:01 .. -????????? ? ? ? ? ? linuxdirectory
Can't I use
/mnt/ as a link?