Yes, it is not possible to push to a repository where your user does not
Picture it like this: You are SSH'ing as a certain user - in your case: git
- to the server. With this user you change to the git repository directory
and start changing files. If you can't do this manually, git won't be able
to push either.
We've arrived at a similar setup - all repos are owned by the git user, and
readable for all (so the gitweb server can read and publish them), although
in our setup we simply share push-access to the same *git *user.
On Friday, June 22, 2012 10:00:01 AM UTC+2, Sridhar Pandurangaiah wrote:
> I have resolved this by changing the ownership of the directory to the
> 'GIT" and assigning the required permissions using the following shell
> $chown -R git:git /home/git
> $chmod 700 /home/git
> I guess other users should be added to the 'git' group so that they can
> PUSH and CLONE.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To view this discussion on the web visit
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at