do i need to specify “vagrant:vagrant” while changing the user, or simply “vagrant” is enough…?
i just googled it, and got to know, the following should be helpful in changing the user of the folder.
command executed:
/vagrant>sudo chown vagrant var (while i was in home dir)
/var>sudo chown vagrant mongodb (while cd - change dir to var)
/var/mongodb>sudo chown vagrant db (while cd - change dir to var/mongodb)
after doing the above, when i execute the mongod with the config file, i got the following error.
and please check the user access to the folder…
please help me out with this…
thanks in advance