juliaup cannot be installed in a global readonly path
I installed a global juliaup as root in /julia. Then attempting to use it, I get variations on:
$ juliaup config versionsdbupdateinterval 0:
0.195 Error: `config` command failed to load configuration data.
0.195
0.195 Caused by:
0.195 0: Failed to open juliaup config file.
0.195 1: Permission denied (os error 13)
I had expected that juliaup was still looking at ~/.julia/juliaup for its config (and indeed it created one there), so I don't know what it's doing trying to access the global readonly settings.
If Juliaup is installed via the shell script (essentially Linux/Mac), then there are two config files, one is specifically for the config settings for the self-update of Juliaup itself. That config file will end up wherever you install Juliaup, so that explains the error here.
In general we need to get to a point where Juliaup detects read-only situations and then properly handles that. In this case it should understand that one of the config files is read-only, but that shouldn't stop it from updating the other one.