8

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?

dipenparmar12
  • 3,042
  • 1
  • 29
  • 39
CaTx
  • 1,421
  • 4
  • 21
  • 42
  • 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 Answers5

11

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/
John Kugelman
  • 349,597
  • 67
  • 533
  • 578
7

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.

laffuste
  • 16,287
  • 8
  • 84
  • 91
  • 3
    It 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
5

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....

dipenparmar12
  • 3,042
  • 1
  • 29
  • 39
4

For me downloading Gitkraken form their website instead of the Ubuntu software centre solved the issue. Like is described in this answer.

-1

open with sudo user

su

password:...

then

gitkraken.

anamarquez
  • 11
  • 1