Re: git-daemon regression: 650c449250d7 common-main: call git_extract_argv0_path()

2016-11-26 Thread Mike Galbraith
On Sat, 2016-11-26 at 12:09 -0500, Jeff King wrote: > On Sat, Nov 26, 2016 at 03:03:48PM +0100, Mike Galbraith wrote: > > > git-daemon went broke on me post v2.9.3 due to binaries being installed > > in /usr/lib/git, which is not in PATH. Reverting 650c449250d7 fixes it >

git-daemon regression: 650c449250d7 common-main: call git_extract_argv0_path()

2016-11-26 Thread Mike Galbraith
Greetings, git-daemon went broke on me post v2.9.3 due to binaries being installed in /usr/lib/git, which is not in PATH. Reverting 650c449250d7 fixes it up, as does ln -s /usr/lib/git/git-daemon /usr/bin/git-daemon 'course, but thought I should report it, since it used to work without that. Pro

Re: [PATCH v2] config: allow inaccessible configuration under $HOME

2013-04-12 Thread Mike Galbraith
Tested, original setup works fine. On Fri, 2013-04-12 at 14:03 -0700, Jonathan Nieder wrote: > The changes v1.7.12.1~2^2~4 (config: warn on inaccessible files, > 2012-08-21) and v1.8.1.1~22^2~2 (config: treat user and xdg config > permission problems as errors, 2012-10-13) were intended to preven

Re: regression: "96b9e0e3 config: treat user and xdg config permission problems as errors" busted git-daemon

2013-04-12 Thread Mike Galbraith
On Fri, 2013-04-12 at 09:08 -0700, Junio C Hamano wrote: > Jeff King writes: > > >> How about "and make sure any Git configuration files", since there > >> might not be any Git configuration files. > > > > Yeah, that is better. Thanks. > > OK, then... > > -- >8 -- > Subject: [PATCH] doc: clari

Re: regression: "96b9e0e3 config: treat user and xdg config permission problems as errors" busted git-daemon

2013-04-11 Thread Mike Galbraith
On Fri, 2013-04-12 at 01:05 -0400, Jeff King wrote: > On Thu, Apr 11, 2013 at 09:46:35PM -0700, Junio C Hamano wrote: > > > >> --user:: > > >> ... current description ... > > >> + > > >> (Like|Unlike) many programs that let you run programs as > > >> specified user, the daemon do

Re: [git] regression: "96b9e0e3 config: treat user and xdg config permission problems as errors" busted git-daemon

2013-04-11 Thread Mike Galbraith
On Thu, 2013-04-11 at 01:42 -0400, Jeff King wrote: > On Thu, Apr 11, 2013 at 05:39:43AM +0200, Mike Galbraith wrote: > > > > ALLOWED_ENV="PATH HOME" > > > HOME=/ > > > > I can work around it by changing the init script to use su - git -c "

Re: [git] regression: "96b9e0e3 config: treat user and xdg config permission problems as errors" busted git-daemon

2013-04-10 Thread Mike Galbraith
On Wed, 2013-04-10 at 09:56 -0400, W. Trevor King wrote: > On Wed, Apr 10, 2013 at 07:33:35AM +0200, Mike Galbraith wrote: > > /usr/lib/git/git-daemon --syslog --detach --reuseaddr --user=git > > --group=daemon --pid-file=/var/run/git-daemon.pid --export-all --user-path >

regression: "96b9e0e3 config: treat user and xdg config permission problems as errors" busted git-daemon

2013-04-09 Thread Mike Galbraith
Greetings, I use git-daemon as the keeper of all source (love it). git is a normal user, running as git:daemon, with all repositories living in ~git. git-daemon is started like so: /usr/lib/git/git-daemon --syslog --detach --reuseaddr --user=git --group=daemon --pid-file=/var/run/git-daemon.pi