Skip to content

Permission problems during setup

David Anthoff edited this page Aug 20, 2024 · 2 revisions

The Juliaup installer tried to edit some of your shell startup scripts, but failed because it did not have the require permissions to do so.

In order to fix this, you need to manually correct the file permissions on the files that the Julia installer identified during the previous setup attempt. To fix the permissions say for the file ~/.bashrc you can try to run the following command:

sudo chown $(id -u):$(id -g) ~/.bashrc

For other files, just replace the filename at the end with the filename that Juliaup reported.

The root cause of this error are typically other installers that (incorrectly!) set the file permissions on these files. For example, Anaconda is known to create shell startup scripts inside a user's home folder with owner root and similar permissions, which can cause this error.

Clone this wiki locally