AGWA / git-crypt

Transparent file encryption in git
https://www.agwa.name/projects/git-crypt/
GNU General Public License v3.0
8.1k stars 472 forks source link

Warning: unable to access '.git/info/attributes': Permission denied - on Windows #307

Closed li3zmu closed 4 months ago

li3zmu commented 5 months ago

Hello, sorry for this newbie question - I'm trying to figure out why I keep hitting this error on Windows 10. I installed git-crypt through "scoop install git-crypt" and was able to do a git init, git-crypt init, git add, but when I do a git-crypt status to check if my files are encrypted I keep hitting:

warning: unable to access '.git/info/attributes': Permission denied

I've created a .git/info/attributes/.gitattributes file in the project folder. I've tried to give full access permissions both through the GUI route (Properties->Security->Full Control for everyone) and by run "takeown /F .git /R" in Powershell elevated to Admin.

Any other ideas?

Thanks!