{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/cabal/issues/2653","labels_url":"https://api.github.com/repos/haskell/cabal/issues/2653/labels{/name}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/2653/comments","events_url":"https://api.github.com/repos/haskell/cabal/issues/2653/events","html_url":"https://github.com/haskell/cabal/issues/2653","id":87115461,"number":2653,"title":"`ar` permission errors on OS X 10.11 `El Capitan`","user":{"login":"LukeHoersten","id":743,"avatar_url":"https://avatars.githubusercontent.com/u/743?v=3","gravatar_id":"","url":"https://api.github.com/users/LukeHoersten","html_url":"https://github.com/LukeHoersten","followers_url":"https://api.github.com/users/LukeHoersten/followers","following_url":"https://api.github.com/users/LukeHoersten/following{/other_user}","gists_url":"https://api.github.com/users/LukeHoersten/gists{/gist_id}","starred_url":"https://api.github.com/users/LukeHoersten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukeHoersten/subscriptions","organizations_url":"https://api.github.com/users/LukeHoersten/orgs","repos_url":"https://api.github.com/users/LukeHoersten/repos","events_url":"https://api.github.com/users/LukeHoersten/events{/privacy}","received_events_url":"https://api.github.com/users/LukeHoersten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-06-10T21:36:06Z","updated_at":"2015-06-21T17:54:04Z","closed_at":null,"body":"When running cabal operations, things fail with `ar` permission errors:\r\n\r\n```\r\n$ cabal install cabal-install\r\ncabal: /usr/bin/ar: permission denied\r\n```\r\n\r\nThis started happening after upgrading to OS X 10.11. Running with `-v3` does not give any more information including the file that `ar` is being run on.\r\n\r\n```\r\n$ ls -al `which ar`\r\n-rwxr-xr-x  1 root  wheel  18160 Jun  3 07:10 /usr/bin/ar\r\n```\r\n\r\nPermissions on the `ar` binary are fine and can be run directly with no issue. I suspect the file `ar` is being run on doesn't have read permissions."},"comment":{"url":"https://api.github.com/repos/haskell/cabal/issues/comments/113935633","html_url":"https://github.com/haskell/cabal/issues/2653#issuecomment-113935633","issue_url":"https://api.github.com/repos/haskell/cabal/issues/2653","id":113935633,"user":{"login":"uchuugaka","id":197321,"avatar_url":"https://avatars.githubusercontent.com/u/197321?v=3","gravatar_id":"","url":"https://api.github.com/users/uchuugaka","html_url":"https://github.com/uchuugaka","followers_url":"https://api.github.com/users/uchuugaka/followers","following_url":"https://api.github.com/users/uchuugaka/following{/other_user}","gists_url":"https://api.github.com/users/uchuugaka/gists{/gist_id}","starred_url":"https://api.github.com/users/uchuugaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uchuugaka/subscriptions","organizations_url":"https://api.github.com/users/uchuugaka/orgs","repos_url":"https://api.github.com/users/uchuugaka/repos","events_url":"https://api.github.com/users/uchuugaka/events{/privacy}","received_events_url":"https://api.github.com/users/uchuugaka/received_events","type":"User","site_admin":false},"created_at":"2015-06-21T17:54:04Z","updated_at":"2015-06-21T17:54:04Z","body":"Simply disabling rootless isn't enough for everything. Many projects are waking up to realizing they need to find new places they can put things. Directories that are not locked down. I'm still looking into it. macports for example is finding they may need a new directory as their root. "}}