{"action":"closed","issue":{"url":"https://api.github.com/repos/defunkt/dotjs/issues/88","labels_url":"https://api.github.com/repos/defunkt/dotjs/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/defunkt/dotjs/issues/88/comments","events_url":"https://api.github.com/repos/defunkt/dotjs/issues/88/events","html_url":"https://github.com/defunkt/dotjs/issues/88","id":9616795,"number":88,"title":"rake install: ~/.js/ owner is root by default","user":{"login":"Knorkebrot","id":684180,"avatar_url":"https://avatars.githubusercontent.com/u/684180?v=3","gravatar_id":"","url":"https://api.github.com/users/Knorkebrot","html_url":"https://github.com/Knorkebrot","followers_url":"https://api.github.com/users/Knorkebrot/followers","following_url":"https://api.github.com/users/Knorkebrot/following{/other_user}","gists_url":"https://api.github.com/users/Knorkebrot/gists{/gist_id}","starred_url":"https://api.github.com/users/Knorkebrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Knorkebrot/subscriptions","organizations_url":"https://api.github.com/users/Knorkebrot/orgs","repos_url":"https://api.github.com/users/Knorkebrot/repos","events_url":"https://api.github.com/users/Knorkebrot/events{/privacy}","received_events_url":"https://api.github.com/users/Knorkebrot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2013-01-02T14:26:49Z","updated_at":"2015-07-21T12:24:02Z","closed_at":"2015-07-21T12:24:02Z","body":"You need to be root to write to `/usr/local/bin/`, so `rake install` needs to be executed as root. But the installation process also creates `~/.js/` if it doesn't exist, therefore the dir will be owned by root and the normal user can't write to it unless he uses `sudo` or (sudo+) `chown`."}}