Bug/Git

[BitBucket] Error: make sure you have the correct access rights (WSL)

brightlightkim 2022. 3. 30. 06:18
Cloning into 'service-playnext'...
fatal: '=' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
  • How we solved this
    • Reinstall WSL
    • Make username when installing it with passwords (most important step in installing WSL. If you didn't make this username, it will automatically directs your default directory to root, which makes problems when setting ssh public and private keys.)
    • ssh keygen by following https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/ in Linux
    • Remounted the user for the permission
sudo umount /mnt/c
sudo mount -t drvfs C: /mnt/c -o metadata

 

https://askubuntu.com/questions/1115564/wsl-ubuntu-distro-how-to-solve-operation-not-permitted-on-cloning-repository

 

WSL Ubuntu Distro | How to solve `Operation not permitted` on cloning repository

I am running Ubuntu 18.04, as a Subsystem for Windows. I have done this in mutliple PCs and never had this problem. I try to to git clone <repo>, and I get this: Cloning into '<repo>'...

askubuntu.com