{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/563","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/563/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/563/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/563/events","html_url":"https://github.com/commercialhaskell/stack/issues/563","id":94425522,"number":563,"title":"Setup.hs: /usr/bin/ar: permission denied on OS X 10.11 \"El Capitan\"","user":{"login":"notcome","id":2232964,"avatar_url":"https://avatars.githubusercontent.com/u/2232964?v=3","gravatar_id":"","url":"https://api.github.com/users/notcome","html_url":"https://github.com/notcome","followers_url":"https://api.github.com/users/notcome/followers","following_url":"https://api.github.com/users/notcome/following{/other_user}","gists_url":"https://api.github.com/users/notcome/gists{/gist_id}","starred_url":"https://api.github.com/users/notcome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notcome/subscriptions","organizations_url":"https://api.github.com/users/notcome/orgs","repos_url":"https://api.github.com/users/notcome/repos","events_url":"https://api.github.com/users/notcome/events{/privacy}","received_events_url":"https://api.github.com/users/notcome/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/commercialhaskell/stack/milestones/1","html_url":"https://github.com/commercialhaskell/stack/milestones/Later%20improvements","labels_url":"https://api.github.com/repos/commercialhaskell/stack/milestones/1/labels","id":1111900,"number":1,"title":"Later improvements","description":"Arbitrary date chosen, just to get the milestones to order nicely","creator":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":21,"state":"open","created_at":"2015-05-15T10:03:10Z","updated_at":"2015-07-22T13:15:44Z","due_on":"2016-01-31T08:00:00Z","closed_at":null},"comments":22,"created_at":"2015-07-11T02:02:56Z","updated_at":"2015-07-22T13:15:44Z","closed_at":"2015-07-22T13:15:44Z","body":"I am playing with stack. I tried to install some packages with it:\r\n```\r\nstack install parsec\r\n```\r\nBut for every dependency it tried to install there was permission issue:\r\n```\r\nSetup.hs: /usr/bin/ar: permission denied\r\n```\r\nTurning on verbose mode, I saw the following output:\r\n```\r\n2015-07-11 01:59:22.455026: [debug] Run process: /Users/Selveskii/.stack/programs/x86_64-osx/ghc-7.8.4/bin/runhaskell -package=Cabal-1.18.1.5 -clear-package-db -global-package-db -package-db=/Users/Selveskii/.stack/snapshots/x86_64-osx/lts-2.17/7.8.4/pkgdb/ /var/folders/cp/crwr_pg55jb201td5yjg4xlc0000gn/T/stack4016/Setup.hs --builddir=.stack-work/dist/x86_64-osx/Cabal-1.18.1.5/ configure --user --package-db=clear --package-db=global --package-db=/Users/Selveskii/.stack/snapshots/x86_64-osx/lts-2.17/7.8.4/pkgdb/ --constraint=array==0.5.0.0 --constraint=base==4.7.0.2 --constraint=bytestring==0.10.4.0 --constraint=deepseq==1.3.0.2 --constraint=ghc-prim==0.3.1.0 --constraint=integer-gmp==0.5.1.0 --libdir=/Users/Selveskii/.stack/snapshots/x86_64-osx/lts-2.17/7.8.4/lib --bindir=/Users/Selveskii/.stack/snapshots/x86_64-osx/lts-2.17/7.8.4/bin --datadir=/Users/Selveskii/.stack/snapshots/x86_64-osx/lts-2.17/7.8.4/share --docdir=/Users/Selveskii/.stack/snapshots/x86_64-osx/lts-2.17/7.8.4/doc/text-1.2.0.6 --htmldir=/Users/Selveskii/.stack/snapshots/x86_64-osx/lts-2.17/7.8.4/doc/text-1.2.0.6 --haddockdir=/Users/Selveskii/.stack/snapshots/x86_64-osx/lts-2.17/7.8.4/doc/text-1.2.0.6 -f-integer-simple @(stack-0.1.2.0:Stack.Build.Execute src/Stack/Build/Execute.hs:591:13)\r\n```\r\nI don't think stack was trying to write to some place it should not do. Where could the problem be? Am I using stack in a wrong way? "},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/123716020","html_url":"https://github.com/commercialhaskell/stack/issues/563#issuecomment-123716020","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/563","id":123716020,"user":{"login":"manny-fp","id":2164261,"avatar_url":"https://avatars.githubusercontent.com/u/2164261?v=3","gravatar_id":"","url":"https://api.github.com/users/manny-fp","html_url":"https://github.com/manny-fp","followers_url":"https://api.github.com/users/manny-fp/followers","following_url":"https://api.github.com/users/manny-fp/following{/other_user}","gists_url":"https://api.github.com/users/manny-fp/gists{/gist_id}","starred_url":"https://api.github.com/users/manny-fp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manny-fp/subscriptions","organizations_url":"https://api.github.com/users/manny-fp/orgs","repos_url":"https://api.github.com/users/manny-fp/repos","events_url":"https://api.github.com/users/manny-fp/events{/privacy}","received_events_url":"https://api.github.com/users/manny-fp/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T13:15:44Z","updated_at":"2015-07-22T13:15:44Z","body":"Ok, thanks, that's what I thought but just wanted someone to confirm it by actually trying it."}}