Bug 96942

Summary: /srv/git.freedesktop.org/git/polkit.git not writable by the polkit group
Product: freedesktop.org Reporter: Miloslav Trmac <mitr>
Component: AdministrationAssignee: fd.o Admin Massive <sitewranglers>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: mayocoko
Version: unspecified   
Hardware: Other   
OS: Mac OS X (All)   
Whiteboard:
i915 platform: i915 features:

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

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
etc.

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.