Host machine: OS X El Capitan
Virtual machine: Linux Red Hat(64-bit) through Virtual Box
Goal: share folder on Mac, so when I change files on host machine, they will be changed on the virtual machine also.
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="pass"
- I'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!
It event didn't ask for password..