Min Wang
2013-Jan-30 03:34 UTC
[CentOS] centos 6.3 git core.sharedRepository = group/all not working?
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?
thanks.
min
Phil Dobbin
2013-Jan-30 04:18 UTC
[CentOS] centos 6.3 git core.sharedRepository = group/all not working?
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
Reasonably Related Threads
- [PATCH][git-pull] lua: fix broken bindings, switch to using methods, document things
- GitHub passwords in .git/config?
- git clone --recursive
- [PATCH][git-pull] lua: fix broken bindings, switch to using methods, document things
- [syslinux:master] Remove some whitespace