lazygit
lazygit copied to clipboard
Access is denied
Topic I just updated from 0.36.0 to 0.37.0 and now I get "Access is denied" when I try and start lazygit.
Your thoughts Running 0.36.0 works just fine on my repo, but switching over to 0.37.0 and looking at the same repo fails. I am not sure if this is a bug or not. Any ideas?
Do you have submodules?
Does it happen if you clone the repo anew somewhere else?
I am not using submodules. If I clone a repo into a completely new directory, I still get "Access is denied."
Could you share a screenshot and the log?
Which log are you referring to?
The command and error is:
lazygit --use-config-file .\config.yml
And the error is simply:
Access is denied.
Even if I run lazygit in a non-git directory, I get the same 'Access is denied'. Which is strange, because using version 36, I get the message "Not in a git repository. Create a new git repository? (y/n):".
Would you kindly open up an issue and filli out the bug report template so we have more info to work with?
How did you install lazygit? If lazygit -v
gives the same error, please check the permission of which lazygit
.
I just downloaded lazygit_0.37.0_Windows_x86_64.zip and unzipped it. If the look at the permissions, it is owned by me.
Interesting. I think it might be a permission issue. I am on my company laptop and I wonder if some shenanigans are going on... Let me do a little more testing...
Normally, I have lazygit in the c:\bin\lazygit directory. If I move the 36 version into that directory, it works as planned. However, if I move the 37 version into that directory, I get the "Access is denied" error. But... If I move the 37 version into c:\bin\lazygit\37... it works... I will do more digging.