Bug 100292 - Unable to push to fontconfig git repo
Summary: Unable to push to fontconfig git repo
Status: RESOLVED FIXED
Alias: None
Product: freedesktop.org
Classification: Unclassified
Component: Version control (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: fd.o Admin Massive
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-21 03:39 UTC by Akira TAGOH
Modified: 2017-05-26 10:50 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Akira TAGOH 2017-03-21 03:39:02 UTC
I'm getting the following error on pushing my changes to fontconfig git repo:
remote: error: cannot lock ref 'HEAD': Unable to create '/srv/git.freedesktop.org/git/fontconfig/HEAD.lock': Permission denied
To ssh://git.freedesktop.org/git/fontconfig
 ! [remote rejected] master -> master (failed to update ref)

I don't know when/where this problem is coming. my last commit was 1st Mar.
Comment 1 Akira TAGOH 2017-03-31 03:49:40 UTC
/etc/exports on kemper might be wrong?

tagoh@annarchy:/srv/anongit.freedesktop.org/git/fontconfig$ mount | grep git
kemper.freedesktop.org:/srv/git.freedesktop.org/git on /srv/anongit.freedesktop.org/git type nfs4 (rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=131.252.210.176,local_lock=none,addr=131.252.210.178)
tagoh@annarchy:/srv/anongit.freedesktop.org/git/fontconfig$ id
uid=2941(tagoh) gid=500(fontconfig) groups=500(fontconfig),800(freedesktop),829(hieroglyph)
tagoh@annarchy:/srv/anongit.freedesktop.org/git/fontconfig$ ls -la
total 80
drwxr-xr-x   8 keithp fontconfig  4096 Dec  9  2009 .
drwxr-xr-x 148 root   root        4096 Dec  7 19:19 ..
-rw-rw-r--   1 keithp fontconfig    23 Aug 27  2006 HEAD
drwxrwsr-x   2 keithp fontconfig  4096 Aug 27  2006 branches
-rw-rw-r--   1 keithp fontconfig    75 Aug 27  2006 config
-rw-rw-r--   1 keithp fontconfig    45 Aug 27  2006 description
-rw-rw-r--   1 keithp fontconfig     0 Aug 27  2006 git-daemon-export-ok
drwxrwsr-x   3 keithp fontconfig  4096 Dec  5 17:13 hooks
-rw-rw-r--   1 keithp fontconfig 25997 Aug 27  2006 index
drwxrwsr-x   3 keithp fontconfig  4096 Mar  1 10:49 info
drwxrwsr-x 260 keithp fontconfig  4096 Mar 24 04:11 objects
-rw-rw-r--   1 root   root        4966 Dec  9  2009 packed-refs
drwxrwsr-x   4 keithp fontconfig  4096 Aug 27  2006 refs
drwxrwsr-x   2 keithp fontconfig  4096 Aug 27  2006 remotes
tagoh@annarchy:/srv/anongit.freedesktop.org/git/fontconfig$ touch foo
touch: cannot touch 'foo': Read-only file system
Comment 2 Akira TAGOH 2017-05-26 10:18:58 UTC
ping?
Comment 3 Daniel Stone 2017-05-26 10:50:01 UTC
Sorry I missed this.

annarchy is not the right place to check: it very deliberately has a read-only export, as it only serves anongit. SSH git access lives on kemper.fd.o, which has no general shell access.

I've fixed the permissions now though, so you should be able to push again.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.