{"action":"created","issue":{"url":"https://api.github.com/repos/valderman/haste-compiler/issues/353","labels_url":"https://api.github.com/repos/valderman/haste-compiler/issues/353/labels{/name}","comments_url":"https://api.github.com/repos/valderman/haste-compiler/issues/353/comments","events_url":"https://api.github.com/repos/valderman/haste-compiler/issues/353/events","html_url":"https://github.com/valderman/haste-compiler/issues/353","id":120713095,"number":353,"title":"/usr/bin/ar: permission denied when running haste-boot","user":{"login":"simonjrp","id":3428861,"avatar_url":"https://avatars.githubusercontent.com/u/3428861?v=3","gravatar_id":"","url":"https://api.github.com/users/simonjrp","html_url":"https://github.com/simonjrp","followers_url":"https://api.github.com/users/simonjrp/followers","following_url":"https://api.github.com/users/simonjrp/following{/other_user}","gists_url":"https://api.github.com/users/simonjrp/gists{/gist_id}","starred_url":"https://api.github.com/users/simonjrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonjrp/subscriptions","organizations_url":"https://api.github.com/users/simonjrp/orgs","repos_url":"https://api.github.com/users/simonjrp/repos","events_url":"https://api.github.com/users/simonjrp/events{/privacy}","received_events_url":"https://api.github.com/users/simonjrp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-07T07:05:23Z","updated_at":"2015-12-19T18:46:51Z","closed_at":null,"body":"I can't run haste-boot after a fresh installation on El Capitan (via cabal). I immediately get \"/usr/bin/ar: permission denied\", even when running as root. This might be related to the [\"System Integrity Protection\"] (https://support.apple.com/en-us/HT204899) that Apple introduced in OS X El Capitan.\r\n\r\nEdit: Seems to work if one disables SIP before running haste-boot (boot into safe mode and run \"csrutil disable\"), and then re-enables it again afterwords."},"comment":{"url":"https://api.github.com/repos/valderman/haste-compiler/issues/comments/166013478","html_url":"https://github.com/valderman/haste-compiler/issues/353#issuecomment-166013478","issue_url":"https://api.github.com/repos/valderman/haste-compiler/issues/353","id":166013478,"user":{"login":"bananu7","id":2399997,"avatar_url":"https://avatars.githubusercontent.com/u/2399997?v=3","gravatar_id":"","url":"https://api.github.com/users/bananu7","html_url":"https://github.com/bananu7","followers_url":"https://api.github.com/users/bananu7/followers","following_url":"https://api.github.com/users/bananu7/following{/other_user}","gists_url":"https://api.github.com/users/bananu7/gists{/gist_id}","starred_url":"https://api.github.com/users/bananu7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bananu7/subscriptions","organizations_url":"https://api.github.com/users/bananu7/orgs","repos_url":"https://api.github.com/users/bananu7/repos","events_url":"https://api.github.com/users/bananu7/events{/privacy}","received_events_url":"https://api.github.com/users/bananu7/received_events","type":"User","site_admin":false},"created_at":"2015-12-19T18:46:51Z","updated_at":"2015-12-19T18:46:51Z","body":"It's called by `haste-boot` which calls `haste-cabal` which tries to call `ar`. I can, sadly, reproduce. No `shared-true`.\r\n\r\nAnd I'm pretty sure it's related to [this main cabal issue](https://github.com/haskell/cabal/issues/2653)"}}