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

Re: (osx 10.4.11) can't push from linux to Apache on mac: can't access location

From
Jakub Narebski <jnareb@gmail.com>
Date
Jun 13, 2010, 10:44 UTC
Message-ID
<m3iq5np602.fsf@localhost.localdomain>
In-Reply-To
<1276424936869-5173934.post@n2.nabble.com>
ddw_music <jamshark70@gmail.com> writes:
Show 24 quoted lines
> Tay Ray Chuan wrote:
> > 
> > I vaguely remember encountering this. Use a dav client, like cadaver,
> > to manually release the lock.
> > 
> >   $ cadaver http://yourserver/git/kc/
> >   > discover info/refs
> > 
> >   <bla bla: look for the lock token>
> >   > unlock <token>
> > 
> 
> I do appreciate the help... unfortunately, cadaver reports no locks but the
> error persists...
> 
> For my purposes, I think I can use git-daemon. It's approaching the point
> where it will not be worth dealing with the Apache layer. Unless there is a
> simple solution, the HTTP approach seems to be adding complexity without
> much benefit.
> 
> If anyone out there knows of a straightforward way to set this up, I'm eager
> to hear it. (By "straightforward," I mean I'm out of time to fiddle around
> with it much more.) If there is no straightforward way, git-daemon it will
> be for me.

Why can't you use SSH for pushing instead of "dumb" HTTPS via WebDAV? This would require having sshd (SSH daemon, i.e. SSH server) installed, and perhaps Gitosis or Gitolite for access control (so one can use only single shell account).

git-daemon in default configuration doesn't allow pushing.

I don't know if new "smart" HTTP has support for pushing, and whether it would be easier to set up than WebDAV..

P.S. You did run git-update-server-info (and added it to 'update'
     hook), didn't you?
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: ddw_musicNext: ddw_music
Message 6 of 9 in “(osx 10.4.11) can't push from linux to Apache on mac: can't access location”
  1. ddw_musicJun 13, 2010
  2. Tay Ray ChuanJun 13, 2010
  3. ddw_musicJun 13, 2010
  4. Tay Ray ChuanJun 13, 2010
  5. ddw_musicJun 13, 2010
  6. Jakub NarebskiJun 13, 2010
  7. ddw_musicJun 13, 2010
  8. Jakub NarebskiJun 13, 2010
  9. mobi philJun 17, 2010

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.