Host machine: OS X El CapitanVirtual machine: Linux Red Hat(64-bit) through Virtual BoxGoal: share folder on Mac, so when I change files on host machine, they will be changed on the virtual machine also.Error: mount error(13) permission denied.What I've already done and tried: I've shared folder on host machine: share with everyone with read-write permissions.I've run this command: sudo mount -t cifs //192.168.1.2/ia /var/www/apps/ia -o username=arsenpr,password=passI've tried to put sec= option as other people suggested, also I've tried to delete parentheses around username and password.Also I assumed that I've used some other username(which was too odd, but gave it a try) - didn't work. I asked my terminal whoami and it answered 'arsenpr'None of the above helped me.. I've spend 2 days trying different things, different flags and reading man mount.Why I am not thinking about giving up is because it does work if I run the same virtual machine on Windows host machine and do exact the same thing. It worked just right away with the command in the second point, though I have domain name on my windows machine and I also added ,domain=DOMAINNAME at the end of the command. Actually I've also tried to put domain while doing it on Mac, but actually I'm not sure what it is and where to look. I looked at System Preferences -> Network -> connected wifi -> advanced -> WINS -> workgroup. But I'm not sure it's the right place to look for domain name of the network. Any help would be highly appreciated. Ask any additional questions if I missed something. Thanks in advance!UPDATEOh, here what I see today, after reinstalling the system:It event didn't ask for password..
Can't mount shared folder on Linux VM
mount;osx;virtualbox;virtual machine;shared folders
When I have a centOS6 on Virtualbox I usually add in /etc/rc.local(guest machine side) a line like this : mount -t vboxsf -o umask=0000,gid=48,uid=48 name-of-the-shared-folder /path/of/the/mounted/directorythis should mount the shared folder automatically at VM startup.PS: if you have one you can get your current domain name by opening a terminal and perform eg. the following command: domainnameUPDATE from Arseni Prokharchyk:I should say, that without neok's answer this one didn't work for me.