I am working with a directory that I'd rather not change ownership of but I have added the user Pi to the group. The permissions are 775 but I still have issues with Git permission denied messages unless I use sudo.

Does Git not use my user's permissions to handle everything? Shouldn't it have access becasue I as a group member have

closed as off-topic by Milliways, Steve Robillard Nov 3 '16 at 23:59

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be specific to the Raspberry Pi within the scope defined in the help center." – Milliways, Steve Robillard
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Btw this is a question for SuperUser site :/ – tuergeist Nov 3 '16 at 22:38
  • Have you created a user Pi? – Milliways Nov 3 '16 at 22:56

Indeed, git uses the priviledges of the uses that runs git. Have you checked the files mode? Is it 775 as well? .git subdir as well?

You may want to run chmod -R 775 .

Posting the error message would help to provide a better answer.

Not the answer you're looking for? Browse other questions tagged or ask your own question.