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
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...
Hi
thanks. I had a typo on my previsous emai
it was: chmod -R g+rws objects
-r--r--r--. 1 myuser mygroup 156 Jan 29 22:22 objects/fa/905054c795a3b7e5c244bfc6f3a30a0277c6d0
min
On Tue, Jan 29, 2013 at 11:18 PM, Phil Dobbin bukowskiscat@gmail.comwrote:
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.cm...
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
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos