Re: gitweb problem

Alex Austin <[email protected]> Mon, 27 Sep 2010 12:19:52 -0500
Newsgroups gmane.comp.desktop.rox.devel
Message-ID <[email protected]>
I've never seen a bare repository in a folder that doesn't end with .git.
Try renaming rox-lib to rox-lib.git, etc, and see if that fixes it.
On Sep 27, 2010 11:59 AM, "Stephen Watson" <[email protected]>
wrote:
> Stephen Watson <[email protected]> wrote:
>
>> Thomas Leonard <[email protected]> wrote:
>>
>> > On 25 September 2010 10:45, Stephen Watson <[email protected]
>
>> wrote:
>> > > I don't like git, and git doesn't like me, but we're using it for
>> ROX-Filer
>> > > and ROX-Lib so I have to deal with it.  The problem is since I
> switched
>> to a
>> > > 64 bit machine gitweb has stopped working.  If you go to
>> > > http://kerofin.demon.co.uk/git/gitweb.cgi you'll find no projects
>> listed,
>> > > but I know there should be two.
>> >
>> > You could try setting the environment variable GIT_TRACE=1 (or 2).
>> > That sometimes shows what's going on. Otherwise, strace it?
>
> strace has just confused me more:
>
> access("/srv/git/rox-lib/objects", X_OK) = 0
> access("/srv/git/rox-lib/refs", X_OK) = 0
> lstat("/srv/git/rox-lib/HEAD", {st_mode=S_IFREG|0644, st_size=23, ...}) =
0
> open("/srv/git/rox-lib/HEAD", O_RDONLY) = -1 EACCES (Permission denied)
> write(2, "fatal: Not a git repository: '/s"..., 48) = 48
> exit_group(128) = ?
>
> stephen@kerofin:/tmp> ls -l /srv/git/rox-lib/HEAD
> -rw-r--r-- 1 stephen users 23 2008-01-19 18:35 /srv/git/rox-lib/HEAD
>
> That's world-readable so why the EACCES? The intervening directories are
> also world readable (otherwise how could the lstat succeed?).
>
> --
> Stephen Watson http://www.kerofin.demon.co.uk/
> If you read this on a mailing list, send any reply back to the list and
not
> to me. Not even CC.
> My bleeding heart does not extend to charity
>
>
------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> rox-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rox-devel

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev

_______________________________________________
rox-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rox-devel