Public bug reported:

(gitolite 2.0.3-2)

Depending on the umask of the system the admin.pub file created by postinst 
might not be readable for the gitolite user.
This means that gl-setup (which is run as gitolite) might not be able to read 
the key:

===
$ dpkg-reconfigure gitolite
cp: cannot open `/tmp/tmp.axFdAFtOXV/admin.pub' for reading: Permission denied
creating gitolite-admin...
Initialized empty Git repository in 
/srv/gitolite/repositories/gitolite-admin.git/
creating testing...
Initialized empty Git repository in /srv/gitolite/repositories/testing.git/

                ***** WARNING *****
        the following users have no pubkeys:
admin
===

Adding 'chown "$GITUSER" "$tmpdir/admin.pub"' before running gl-setup
fixes the issue.

** Affects: gitolite (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/886524

Title:
  admin.pub must be readable for gitolite user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gitolite/+bug/886524/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to