{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/44495","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44495/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44495/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44495/events","html_url":"https://github.com/Homebrew/homebrew/issues/44495","id":109313980,"number":44495,"title":"Permissions message should detect shell and display appropriate command","user":{"login":"frewsxcv","id":416575,"avatar_url":"https://avatars.githubusercontent.com/u/416575?v=3","gravatar_id":"","url":"https://api.github.com/users/frewsxcv","html_url":"https://github.com/frewsxcv","followers_url":"https://api.github.com/users/frewsxcv/followers","following_url":"https://api.github.com/users/frewsxcv/following{/other_user}","gists_url":"https://api.github.com/users/frewsxcv/gists{/gist_id}","starred_url":"https://api.github.com/users/frewsxcv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frewsxcv/subscriptions","organizations_url":"https://api.github.com/users/frewsxcv/orgs","repos_url":"https://api.github.com/users/frewsxcv/repos","events_url":"https://api.github.com/users/frewsxcv/events{/privacy}","received_events_url":"https://api.github.com/users/frewsxcv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-01T14:40:39Z","updated_at":"2015-10-02T03:52:13Z","closed_at":null,"body":"```\r\n> brew update; and brew upgrade\r\nError: The /usr/local directory is not writable.\r\nEven if this directory was writable when you installed Homebrew, other\r\nsoftware may change permissions on this directory. Some versions of the\r\n\"InstantOn\" component of Airfoil are known to do this.\r\n\r\nYou should probably change the ownership and permissions of /usr/local\r\nback to your user account.\r\n  sudo chown -R $(whoami):admin /usr/local\r\n```\r\n\r\nI use fish shell and that bottom command is invalid for fish. If it's trivial, it'd be nice if that would display  `sudo chown -R (whoami):admin /usr/local` instead if the user is using fish shell. Not a huge deal, just pointing it out in case it wasn't already known"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/144910913","html_url":"https://github.com/Homebrew/homebrew/issues/44495#issuecomment-144910913","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44495","id":144910913,"user":{"login":"hmbr","id":42883,"avatar_url":"https://avatars.githubusercontent.com/u/42883?v=3","gravatar_id":"","url":"https://api.github.com/users/hmbr","html_url":"https://github.com/hmbr","followers_url":"https://api.github.com/users/hmbr/followers","following_url":"https://api.github.com/users/hmbr/following{/other_user}","gists_url":"https://api.github.com/users/hmbr/gists{/gist_id}","starred_url":"https://api.github.com/users/hmbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmbr/subscriptions","organizations_url":"https://api.github.com/users/hmbr/orgs","repos_url":"https://api.github.com/users/hmbr/repos","events_url":"https://api.github.com/users/hmbr/events{/privacy}","received_events_url":"https://api.github.com/users/hmbr/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T03:52:13Z","updated_at":"2015-10-02T03:52:13Z","body":"https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/El_Capitan_and_Homebrew.md"}}