-
-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exercism can't use mkdir #945
Comments
What method of installation did you choose? Who owns My guess: |
I installed via snap. I own |
Ok, so I got it working (I probably broke some things along the way, but I probably wouldn't have had any issue at all if this machine wasn't already screwed up from younger me 🤷 ) So I got all of the permission set up, but exercism still couldn't open Then when I ran
So I set the symbolic link which was previously So far everything is working now. I just think it's odd that it was an issue to begin with. |
I'm also seeing this issue on Ubuntu 20.04, installed from snap. Is this a general problem with snap? |
There are known and reoccuring but irreproducible problems coming up with snap on a regular basis. Mostly solved by either circumventing snap sandbox or removing the snap in favor of a manual installation. Therefore I have created #973 right now, which would basically solve all of the issues we have with snap. |
We need write access to the $HOME/.config/exercism/ directory for `exercism config` and $HOME/exercism is the default download directory so we need write access there as well. This should resolve issue #945
…n installed as a Snap (#980) * Allow read-write access to configuration and download directories. We need write access to the $HOME/.config/exercism/ directory for `exercism config` and $HOME/exercism is the default download directory so we need write access there as well. This should resolve issue #945 * Permit writes to any files in user's home directory Authored-by: Richard Neish <[email protected]>
This should be resolved by #980 as of the next snap release (which will likely correspond with the Exercism V3 launch). Thanks again, @richardneish! |
Whatever happened to the solution referred to here? I can't see that it ever made it into the master branch. For what it's worth, the problem seems to persist in version 3.0.13, installed on Ubuntu using Snap. |
It looks like the Snap package hasn't been updated since October 2019, but Exercism v3 is set to roll out in a few weeks so I imagine we will be seeing this resolution very soon. |
Oh, so what we have now is not Exercism v3? I thought it was, based on the version reply from the command-line tool:
|
Exercism V3 as in the platform (https://countdown.exercism.io), not Exercism V3 the CLI tool (even though that, finally, will be upgraded as well 👍🏽) |
I'm facing the same issue on Ubuntu 20.04 after installing from
This runs without failing. Obviously not ideal as this solution misses out on automated updates of the binary. |
The manual install works just fine, the snap install is buggy at best, broken at worst. The recommendation for Linux install is to download the executable and place it in the path, then follow the instructions for the token, demonstrated above by @jangroth. |
I faced the same issue; it turns out my .config directory had a root ownership.
can be found under Setting, in the API/CLI tab in the exercism website. |
OS: Ubuntu
Running
exercism configure ...
gives error mkdir /home/$USER/.config/exercism permission deniedEven after running
chmod 777 ~/.config
this error still occurs. Running with sudo alleviates the problem.But then after configuring, running
exercism download ...
I get another permission denied error for mkdir n the workspace directory even with sudoThe text was updated successfully, but these errors were encountered: