Skip to content

Instantly share code, notes, and snippets.

@ChasManRors
Created January 25, 2012 01:50
Show Gist options
  • Save ChasManRors/1674111 to your computer and use it in GitHub Desktop.
Save ChasManRors/1674111 to your computer and use it in GitHub Desktop.
bash: /Users/cmmagid/.rvm/bin/rvm-prompt: No such file or directory
$ cd
bash: /Users/cmmagid/.rvm/bin/rvm-prompt: No such file or directory
$ touch /Users/cmmagid/.rvm/bin/rvm-prompt
touch: /Users/cmmagid/.rvm/bin/rvm-prompt: Permission denied
bash: /Users/cmmagid/.rvm/bin/rvm-prompt: No such file or directory
$ sudo touch /Users/cmmagid/.rvm/bin/rvm-prompt
bash: /Users/cmmagid/.rvm/bin/rvm-prompt: Permission denied
$ sudo ls -alFtr /Users/cmmagid/.rvm/
total 0
drwxr-xr-x+ 278 cmmagid staff 9452 Jan 24 20:40 ../
drwxr-xr-x 3 cmmagid staff 102 Jan 24 20:41 ./
drwxr-xr-x 3 root staff 102 Jan 24 20:47 bin/
bash: /Users/cmmagid/.rvm/bin/rvm-prompt: Permission denied
$ sudo ls -alFtr /Users/cmmagid/.rvm/bin/
total 0
drwxr-xr-x 3 cmmagid staff 102 Jan 24 20:41 ../
-rw-r--r-- 1 root staff 0 Jan 24 20:47 rvm-prompt
drwxr-xr-x 3 root staff 102 Jan 24 20:47 ./
bash: /Users/cmmagid/.rvm/bin/rvm-prompt: Permission denied
$ sudo ls -alFtr /Users/cmmagid/.rvm/bin/
total 0
drwxr-xr-x 3 cmmagid staff 102 Jan 24 20:41 ../
-rw-r--r-- 1 root staff 0 Jan 24 20:47 rvm-prompt
drwxr-xr-x 3 root staff 102 Jan 24 20:47 ./
bash: /Users/cmmagid/.rvm/bin/rvm-prompt: Permission denied
$ sudo chmod 777 /Users/cmmagid/.rvm/bin/rvm-prompt
$ pwd
/Users/cmmagid
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment