Push to origin failed #24026
-
Hello, I’m trying to push some code I made to origin, but Im greeted by an error message that follows: error: cannot spawn C:\Users<confidential>\AppData\Local\GitHubDesktop\app-2.6.3\resources\app\static\ask-pass-trampoline.bat: Permission denied |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @Gummybear405, welcome to the community I experienced and investigated what is likely to be the same problem on a corporate Win 10 device with some stricter group security policy settings configured when attempting a git clone of a private repository , as it calls the same ‘bat’ file to determine username credentials (not a problem for clonng public as authentication is not required). For cloning private the error message was
A couple of options for you are The underlying problem here is that GitHub Desktop internally executing a ‘bat’ command, as this is a potential attack vector, but that’s separate discussion. Let us know if this solves works around your problem or not. |
Beta Was this translation helpful? Give feedback.
-
Oh my gosh, thank you! I ran the application as an administrator and pushed it again. It worked! Thank you so much for your help. :slight_smile: |
Beta Was this translation helpful? Give feedback.
-
@Gummybear405 great news :), if you mark the answer as solved in the post, it will show better up for anyone looking who has the same problem. |
Beta Was this translation helpful? Give feedback.
Hi @Gummybear405, welcome to the community
I experienced and investigated what is likely to be the same problem on a corporate Win 10 device with some stricter group security policy settings configured when attempting a git clone of a private repository , as it calls the same ‘bat’ file to determine username credentials (not a problem for clonng public as authentication is not required).
It worked without problem on a personal Win 10 device I use for my own work.
For cloning private the error message was