[CentOS] centos 6.3 git core.sharedRepository = group/all not working?

Phil Dobbin bukowskiscat at gmail.com
Wed Jan 30 04:18:17 UTC 2013


On 01/30/2013 03:34 AM, Min Wang wrote:

> HI
> 
> I have a git bare repo on centos 6.3 ( with selinux off)
> 
> the config is:
> [core]
>      repositoryformatversion = 0
>      filemode = true
>      bare = true
>      sharedRepository = all  ( or true or group)
> 
> 
> chmod -R g+rs objects
> 
> when  git pushed the changes from remote ssh .
> 
> the new file under objects are not writable.
> e.g.:
> 
> -r--r--r--. 1 myuser mygroup 156 Jan 29 22:22 
> objects/fa/905054c795a3b7e5c244bfc6f3a30a0277c6d0
> 
> what could be wrong?

You've set the group read permissions but you haven't set any write
permissions.

Take a look at:
<http://pic.dhe.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.cmds%2Fdoc%2Faixcmds1%2Fchmod.htm>

Cheers,

  Phil...

-- 
currently (ab)using
CentOS 5.8 & 6.3, Debian Squeeze & Wheezy, Fedora Beefy & Spherical,
Lubuntu 12.10, OS X Snow Leopard & Ubuntu Precise & Quantal
GnuPG Key : http://www.horse-latitudes.co.uk/publickey.asc





More information about the CentOS mailing list