Re: [git-users] bare repo file permission issues when sharing with multiple users

2015-08-05 Thread Sean
Git uses a distributed model. The correct approach is for the second user to 
clone the repository.


On August 5, 2015 at 9:46:04 AM, dexter ietf (dexter.i...@gmail.com) wrote:

two users belonging to the same group are unable to commit
to a shared repository. i did configure the core.sharedrepository to group
still after the first user has committed the second user is unable to
commit. the following is how the objects folder is looking like, with
the following state it is allowing dick to commit but not tom, when
dick does chmod 777 -R objects, then tom can commit too, looks
like the other option is taking effect rather than the group option.
notice that all the users belong to group 'blue'. and i did set the
chmod g+s objects.. still not helping, i googled around a lot and
tried so many options unable to get this work. btw the repo is a bare
repo.

drwxrwsrwx 2 tom blue 4096 Aug  5 06:10 b6
drwxrwsrwx 2 harry blue 4096 Aug  5 06:10 9d
drwxrwsr-x 2 dick blue 4096 Aug  5 06:10 17
drwxrwsrwx 2 tom blue 4096 Aug  5 06:10 83
drwxrwsr-x 2 dick blue 4096 Aug  5 06:10 69
drwxrwsr-x 2 dick blue 4096 Aug  5 06:10 d7
drwxrwsrwx 2 tom blue 4096 Aug  5 06:10 4a

--
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] bare repo file permission issues when sharing with multiple users

2015-08-05 Thread dexter ietf
On Wednesday, August 5, 2015 at 8:28:42 PM UTC+5:30, Sean Johnson wrote:

 Git uses a distributed model. The correct approach is for the second user 
 to clone the repository.


they did clone a separate repo, the problem is they are unable to push
back to the repo they cloned from, because of the permission issues
like i explained above. 

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] bare repo file permission issues when sharing with multiple users

2015-08-05 Thread Sean
  the problem is they are unable to push back to the repo they cloned from

I think the correct direction for this is a pull. The second user should ask 
the first user to pull from their clone, mimicking a more formal pull request. 

On August 5, 2015 at 12:27:38 PM, dexter ietf (dexter.i...@gmail.com) wrote:

On Wednesday, August 5, 2015 at 8:28:42 PM UTC+5:30, Sean Johnson wrote:
Git uses a distributed model. The correct approach is for the second user to 
clone the repository.

they did clone a separate repo, the problem is they are unable to push
back to the repo they cloned from, because of the permission issues
like i explained above. 
--
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.