git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-daemon: needs /root/.config/git/config?

From
IKIan Kumlien <pomac@vapor.com>
Date
Jun 4, 2013, 14:13 UTC
Message-ID
<20130604141314.GD22308@pomac.netswarm.net>
Hi again, 

Due to the earlier problem I upgraded git on all machines and eneded up with a ubunut machine running in to problems.

I started getting errors like: "fatal: protocol error: bad line length character: fata"

Which after some head scratching caused me to tell xinetd to directly launch git-daemon, eventually it worked fine, but i did get this error message:

Jun 4 16:12:05 xyz git-daemon[10246]: unable to access '/root/.config/git/config': Permission denied

It's not the first time i've seen it but i've been able to ignore it before. This is running as a local user (as in not root) and this user shouldn't have access to /root. But i eventually had to do chown o+x /root to workaround this error.

Now, this must be wrong somehow? Or does --user work in inetd mode now?
So... comments, ideas?
Next: Jeff King
Message 1 of 12 in “git-daemon: needs /root/.config/git/config?”
  1. Ian KumlienJun 4, 2013
  2. Jeff KingJun 4, 2013
  3. Johannes SixtJun 4, 2013
  4. Jonathan NiederJun 4, 2013
  5. Junio C HamanoJun 4, 2013
  6. Jeff KingJun 4, 2013
  7. Junio C HamanoJun 4, 2013
  8. Ian KumlienJun 5, 2013
  9. Andreas KreyJun 5, 2013
  10. Jeff KingJun 5, 2013
  11. Bernhard R. LinkJun 9, 2013
  12. Ian KumlienJun 10, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.