librelist archives

« back to archive

newbie problem - installing/uninstalling git

newbie problem - installing/uninstalling git

From:
Akshay Sthapit
Date:
2010-12-31 @ 12:16
I want to uninstall (and then re-install) git but it gives me this error -

Air ~: brew uninstall git
Uninstalling /usr/local/Cellar/git/1.7.3.2...
Error: Permission denied - /usr/local/bin/git-cvsserver
Air ~: brew install git
Error: Cannot write to /usr/local

Can someone help?  I'm new to macs.


-- 
____________________________________________________________
Akshay R. Sthapit
Phone:(786) 389-0587       http://alum.mit.edu/www/sthapit
____________________________________________________________

Re: [homebrew] newbie problem - installing/uninstalling git

From:
Mike McQuaid
Date:
2010-12-31 @ 12:19
On 31 December 2010 12:16, Akshay Sthapit <sthapit@gmail.com> wrote:
> I want to uninstall (and then re-install) git but it gives me this error -
> Air ~: brew uninstall git
> Uninstalling /usr/local/Cellar/git/1.7.3.2...
> Error: Permission denied - /usr/local/bin/git-cvsserver
> Air ~: brew install git
> Error: Cannot write to /usr/local
> Can someone help?  I'm new to macs.

sudo chown -R `whoami` /usr/local

-- 
Mike McQuaid
http://mikemcquaid.com

Re: [homebrew] newbie problem - installing/uninstalling git

From:
Akshay Sthapit
Date:
2010-12-31 @ 12:26
Didn't work :(

Air /usr/local/bin: sudo chown -R `whoami` /usr/local
Password:
Air ~: brew uninstall git
Uninstalling /usr/local/Cellar/git/1.7.3.2...
Error: Permission denied - /usr/local/bin/git-cvsserver


On Fri, Dec 31, 2010 at 6:04 PM, Mike McQuaid <mike@mikemcquaid.com> wrote:

> On 31 December 2010 12:16, Akshay Sthapit <sthapit@gmail.com> wrote:
> > I want to uninstall (and then re-install) git but it gives me this error
> -
> > Air ~: brew uninstall git
> > Uninstalling /usr/local/Cellar/git/1.7.3.2...
> > Error: Permission denied - /usr/local/bin/git-cvsserver
> > Air ~: brew install git
> > Error: Cannot write to /usr/local
> > Can someone help?  I'm new to macs.
>
> sudo chown -R `whoami` /usr/local
>
> --
> Mike McQuaid
> http://mikemcquaid.com
>



-- 
____________________________________________________________
Akshay R. Sthapit               Email: sthapit@gmail.com
Phone:(786) 389-0587       http://alum.mit.edu/www/sthapit
____________________________________________________________

Re: [homebrew] newbie problem - installing/uninstalling git

From:
Mike McQuaid
Date:
2010-12-31 @ 12:42
On 31 December 2010 12:26, Akshay Sthapit <sthapit@gmail.com> wrote:
> Didn't work :(

sudo chmod -R u+rwX /usr/local

-- 
Mike McQuaid
http://mikemcquaid.com

Re: [homebrew] newbie problem - installing/uninstalling git

From:
Akshay Sthapit
Date:
2010-12-31 @ 14:51
Thanks :) Really appreciate it.

And Happy New Year to all.


On Fri, Dec 31, 2010 at 6:27 PM, Mike McQuaid <mike@mikemcquaid.com> wrote:

> On 31 December 2010 12:26, Akshay Sthapit <sthapit@gmail.com> wrote:
> > Didn't work :(
>
> sudo chmod -R u+rwX /usr/local
>
> --
> Mike McQuaid
> http://mikemcquaid.com
>



-- 
____________________________________________________________
Akshay R. Sthapit
Phone:(786) 389-0587       http://alum.mit.edu/www/sthapit
____________________________________________________________