]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jn/config-ignore-inaccessible' into maint
authorJunio C Hamano <gitster@pobox.com>
Mon, 10 Jun 2013 00:06:55 +0000 (17:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Jun 2013 00:06:56 +0000 (17:06 -0700)
A git daemon that starts as "root" and then drops privilege often
leaves $HOME set to that of the root user, which is unreadable by
the daemon process, which was diagnosed as a configuration error.

Make per-user configuration files that are inaccessible due to
EACCES as though these files do not exist to avoid this issue, as
the tightening which was originally meant as an additional security
has annoyed enough sysadmins.

* jn/config-ignore-inaccessible:
  config: allow inaccessible configuration under $HOME

1  2 
dir.c
git-compat-util.h

diff --cc dir.c
Simple merge
Simple merge