Permission denied on fresh install of Ubuntu 20.04
When I run curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org
on a very fresh install of Ubuntu 20.04, I get the error
Warning: /home/carette/.ghcup/cache/ghcup-0.0.6.yaml.tmp: Permission denied
even though ghcup
was the one to successfully create the directories .ghcup
and .ghcup/cache
.