Bug 96942 - /srv/git.freedesktop.org/git/polkit.git not writable by the polkit group
Summary: /srv/git.freedesktop.org/git/polkit.git not writable by the polkit group
Alias: None
Product: freedesktop.org
Classification: Unclassified
Component: Administration (show other bugs)
Version: unspecified
Hardware: Other Mac OS X (All)
: medium normal
Assignee: fd.o Admin Massive
QA Contact:
Depends on:
Reported: 2016-07-15 15:59 UTC by Miloslav Trmac
Modified: 2016-10-10 17:48 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Description Miloslav Trmac 2016-07-15 15:59:51 UTC

pushing to the polkit git repo fails with
> remote: error: insufficient permission for adding an object to repository database objects
> remote: fatal: failed to write object
which seems to happen because the repo is now now not writable by the polkit group:
> mitr@annarchy:/srv/git.freedesktop.org/git/polkit.git$ ls -la
> total 60
> drwxr-sr-x   8 root polkit 4096 Jun 30 16:32 .
> drwxr-xr-x 143 root root   4096 Jun 19 17:10 ..
> drwxr-xr-x   2 root polkit 4096 Jul 27  2006 branches
> -rw-r--r--   1 root polkit   78 Jul 27  2006 config

I have tried (chown -R g+w), but that fails with "read-only file system" (?! the nfsv4 mount is read-write).

Could you fix this so that members of the polkit group can push to the polkit repo again, please?

(Note to self: blocks bug#96940)
Comment 1 Ray Strode [halfline] 2016-07-15 16:09:03 UTC
note the nfs share hosting the fdo git repositories is exported read-only to annarchy.  They're intentionally only readwrite on kemper where a very limited number of people have shell access.

I asked on #freedesktop about the chown call. (no response yet)
Comment 2 Tollef Fog Heen 2016-07-18 08:08:25 UTC
I've fixed up the permissions now, can you try again?
Comment 3 Miloslav Trmac 2016-07-18 12:07:02 UTC
Works fine, thanks!

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.