---
title: "brew unable to unlink old 'README.md' (Permission denied)"
author: "夜鸣猪"
date: "2013-02-27T23:50:15Z"
tags: []
categories: ["编程语言"]
slug: "brew-unable-to-unlink-old-readme-md-permission-denied"
draft: false
lastmod: "2013-02-27T23:50:45Z"
id: 1816959
url: "https://hlee.iteye.com/blog/1816959"
---

rvm install 2.0.0
met problem about [brew](https://github.com/mxcl/homebrew/issues/2906) 


> brew unable to unlink old 'README.md' (Permission denied)


solve problem by:


```java


sudo chmod 777 /usr/local
cd /usr/local
git remote add git://github.com/mxcl/homebrew.git
git reset --hard
git clean -f -d
git pull origin master
brew update
sudo chmod 775 /usr/local

```