I am trying to clone a remote repo with Gitkraken on Linux. The action failed due to having no permission to create new folder, though I was logged in as Admin. Can someone please help?
-
Apparently, folders in Ubuntu require permission setting under Properties. Once all are set correctly, SmartGit and GitKraken can work properly. – CaTx Oct 13 '17 at 21:07
5 Answers
Gitkraken runs as your user, make sure it has write permissions to the directory that will hold your repo.
sudo chown -R {username} /path/to/repo/

- 349,597
- 67
- 533
- 578

- 111
- 3
If the permission error occurs with ubuntu software center / snap and trying to browse a mount, you can fix it -according to this comment- like this:
sudo snap connect gitkraken:removable-media
Edit: since the old snap was taken over by the core team, the plug "removable-media" has disappeared. This solution doesn't work for now. Core team told me this task is in their backlog.

- 16,287
- 8
- 84
- 91
-
3It doesn't work here: ``error: snap "gitkraken" has no plug named "removable-media"`` Ubuntu 18.10 / gitKraken 4.1.1 – LegZ Nov 17 '18 at 11:01
Install gitkraken
with with devmode
(Using Linux snap) Installing snap on Linux
Remove old version ( Optional )
sudo snap remove gitkraken
Install gitkraken by following command
sudo snap install --devmode gitkraken
now you are ready to rock....

- 3,042
- 1
- 29
- 39
For me downloading Gitkraken form their website instead of the Ubuntu software centre solved the issue. Like is described in this answer.

- 563
- 5
- 16