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.

1 Answer 1

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)
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.