You are not logged in.

#1 2008-05-13 18:28:48

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

git strangeness. Have to refix the permissions after every commit.

I made a git repository with: 'git init --shared=group'
All files have 660 permission, all directories have 770.
I set up a group for all the user that need working (pulling and pushing) on the repository file.

But when I commit something messes up and the other users can't pull correctly.
I have to

$ sudo find repo -type f -exec chmod 660 "{}" \;
$ sudo find repo -type d -exec chmod 770 "{}" \;
$ sudo find repo -exec chown ezzetabi:git "{}" \;

to make everything working again...

Any idea of what can be the problem?

Offline

Board footer

Powered by FluxBB