List for cgit developers and users
 help / color / mirror / Atom feed
From: list at eworm.de (Christian Hesse)
Subject: [PATCH 1/1] scan-tree: handle error in git_config_from_file()
Date: Tue, 8 Mar 2016 16:08:04 +0100	[thread overview]
Message-ID: <20160308160804.38380ca5@leda.localdomain> (raw)
In-Reply-To: <20160308160159.349a034d@leda.localdomain>

Christian Hesse <list at eworm.de> on Tue, 2016/03/08 16:01:
> > > It gives:
> > > 
> > > Error reading config /path/to/repository.git/config: Permission denied
> > > (13) fatal: unable to access '/path/to/repository.git/config':
> > > Permission denied
> > > 
> > > Looks like this is fatal in git...    
> > 
> > Is that when listing repositories or when trying to display that
> > specific repo?  I suspect that's a result of prepare_repo_cmd() setting
> > up for a specific repository.  
> 
> Listing repositories works. This is when displaying the repository with
> bad/denied config file.

Looks like it dies in cgit.c line 577 in:

setup_git_directory_gently(&nongit);
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20160308/8fd980fa/attachment.asc>


  parent reply	other threads:[~2016-03-08 15:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-08 13:51 list
2016-03-08 14:05 ` Jason
2016-03-08 14:11 ` john
2016-03-08 14:26   ` list
2016-03-08 14:36     ` john
2016-03-08 14:54       ` list
2016-03-08 14:59         ` john
2016-03-08 15:01           ` list
2016-03-08 15:05             ` john
2016-03-08 15:08             ` list [this message]
2016-03-09 10:16 ` [PATCH v2 " list
2016-03-09 11:05   ` Jason
2016-03-11  7:49     ` list

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160308160804.38380ca5@leda.localdomain \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).