railsbridge/docs — pull request #360 by julesrocks (2014-06-02 01:18:20+00:00)
Title: phpbridge problem following

I am having trouble following the documentation when I comes to the part of adding a directory on the vm, I don't have permission . Here is the thread.

vagrant@precise64:~$ cd /var/www
vagrant@precise64:/var/www$ ls
vagrant@precise64:/var/www$ mkdir suggestotron
mkdir: cannot create directory `suggestotron': Permission denied
vagrant@precise64:/var/www$ sudo
usage: sudo [-D level] -h | -K | -k | -V
usage: sudo -v [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-u user name|#
usage: sudo -l[l] [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-U user nam
groupname|#gid] [command]
usage: sudo [-AbEHknPS] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u us
[VAR=value] [-i|-s] []
usage: sudo -e [-AknS] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u use
vagrant@precise64:/var/www$ sudo root
sudo: root: command not found
vagrant@precise64:/var/www$ su root
Password:
su: Authentication failure
vagrant@precise64:/var/www$ su root
Password:
su: Authentication failure
vagrant@precise64:/var/www$ su root
Password:
su: Authentication failure
vagrant@precise64:/var/www$ php -s 0.0.0.0:8080 -t ./public/
Could not open input file: 0.0.0.0:8080
vagrant@precise64:/var/www$ cd suggestotron
-bash: cd: suggestotron: No such file or directory
vagrant@precise64:/var/www$ git init
/var/www/.git: Permission denied
vagrant@precise64:/var/www$ git status
fatal: Not a git repository (or any of the parent directories): .git
vagrant@precise64:/var/www$ pwd
/var/www
vagrant@precise64:/var/www$ mkdir suggestotron
mkdir: cannot create directory `suggestotron': Permission denied
vagrant@precise64:/var/www$