1

I am trying to commit to my local repository but it keeps saying "The working copy “Project” failed to commit files. warning: unable to access '/Users/me/.config/git/attributes': Permission denied"

I tried this Unable to access 'git/attributes' It worked for a while but after about an hour of working on my project the error comes back.

I don't know if this is related but some storyboard files are randomly marked for Deletion (with the D beside their file name) when trying to commit.

R_C
  • 333
  • 2
  • 6
  • 17

1 Answers1

1

Sicne that .config folder is supposed to be owned by the user, check, whenever you see again this error:

  • the new owner of that .config folder (to see of it is root)
  • the process running at that time (like a local BitBucket server running as root),
  • or your command history (to see if it involved a command like sudo htop)
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250