"ghcup install cabal --set" world-writable
On Ubuntu 20.10 x86-64, umask 022, "ghcup install cabal --set" makes the cabal exe (cabal-3.2.0.0) world-writable, in fact permission flags 777.
I also have GHCUP_INSTALL_BASE_PREFIX=/usr/local if that matters.
(No, I did not use or need "sudo", I already made /usr/local/.ghcup and below owned by my account.)
Edited by Albert Lai