Note:
I'm sure there is a better way of fixing this. I just thought I would put it out there to save someone some frustration.
I'm no expert, just trying to be helpful.
Problem:
When using JetBrains toolbox on an Ubuntu-based Linux distribution, the tool gives me an error:
Failed to prepare Directory. Unable to create version folder: /home/solomon/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/[a version number]
Details:
I also just ran into this, and it turns out that the ~/.local/share/JetBrains/Toolbox
was set to root ownership. I must have used sudo
when running it originally.
The following fixed it:
sudo chown -R <username>:<username> ~/.local/share/JetBrains/Toolbox