I’m getting a "permission denied" error when I try the following command:
$ cabal update
I’m on Mac OS 10.6. Does anyone know how to fix this? Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First: are you sure you’re running it as the correct user? Have you somehow set in your
~/.cabal/config(or wherever the settings are kept on OSX) that it should do it as a global install?Also check the permissions of where the tarball will be downloaded to:
This should show that your user is indeed allowed to download the list of packages.