Permission denied
See original GitHub issueHi!
I am experiencing this problem with a GitHub folder, I’ve used till two weeks ago. For some reasons, I cannot get updates. I tried to remove it and clone again but it does not work. The log files is reported below:
(The error was parsed as 3: Authentication failed. Some common reasons include:
- You are not logged in to your account: see GitHub Desktop > Preferences.
- You may need to log out and log back in to refresh your token.
- You do not have permission to access this repository.
- The repository is archived on GitHub. Check the repository settings to confirm you are still permitted to push commits.
- If you use SSH authentication, check that your key is added to the ssh-agent and associated with your account.)
2020-03-16T18:09:24.167Z - info: [ui] Current tutorial step is NotApplicable
2020-03-16T18:09:24.173Z - info: [ui] Background fetch for 3 repositories took 3.216sec
2020-03-16T18:09:49.553Z - info: [ui] Current tutorial step is NotApplicable
2020-03-16T18:11:25.926Z - info: [ui] Current tutorial step is NotApplicable
2020-03-16T18:11:30.746Z - info: [ui] Current tutorial step is NotApplicable
2020-03-16T18:11:41.572Z - info: [ui] Current tutorial step is NotApplicable
2020-03-16T18:23:05.551Z - info: [ui] Current tutorial step is NotApplicable
2020-03-16T18:23:27.193Z - info: [ui] Current tutorial step is NotApplicable
2020-03-16T18:23:29.128Z - info: [ui] [AppStore.getAccountForRemoteURL] found generic credentials for ‘gitlab.liu.se’ and ‘luca.sanguinetti@unipi.it’
2020-03-16T18:23:29.157Z - error: [ui]
git -c credential.helper= clone --recursive --progress -- https://gitlab.liu.se/ozlde25/cell-free-book.git /cell-free-book
exited with an unexpected code: 128. stderr: fatal: could not create work tree dir ‘/cell-free-book’: Permission denied
(The error was parsed as 21: Permission denied.)
I’ve spent all day to figure out the issue, but I could not find any solution.
I am using MacBook Pro with macOS Mojave version 10.14.6 and GitHub desktop version 2.3.1.
Thank you very much in advance.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
How to resolve the "Permission Denied" error in Linux
While using Linux, you may encounter the error, “permission denied”. This error occurs when the user does not have the privileges to make...
Read more >How to fix 'permission denied' error in Linux? [Solutions]
What is Linux Permission Denied Error? This type of error will occur whenever you run a command for which you do not have...
Read more >How to Fix Shell Script Permission Denied Error in Linux
To fix the permission denied error in Linux, one needs to change the file permission of the script. Use the “chmod” (change mode)...
Read more >Function Compute:What can I do if the "permission denied ...
When I develop a function on an on-premises machine that runs the Windows or macOS operating system, the executable file is normally executed...
Read more >Permission denied in Linux error handling - Sourcegraph Learn
In this tutorial, we'll reproduce this error, go over what's causing it, and provide solutions for how you can fix it.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lucasanguinetti the
fatal: could not create work tree dir '/cell-free-book': Permission denied
indicates that Git can’t write to the location where you are trying to clone. It looks like you are cloning to/
, which would cause that error since it’s read-only. Try cloning to your user directory to see if that succeeds.I’m glad to hear things are working for you now!