Re: gitweb problem

Thomas Leonard <[email protected]> Mon, 27 Sep 2010 18:52:42 +0100
Newsgroups gmane.comp.desktop.rox.devel
Message-ID <[email protected]>
On 27 September 2010 17:59, 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?).

That's pretty odd. Any strange SELinux / AppArmor policies in effect?


-- 
Dr Thomas Leonard        http://0install.net/
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

------------------------------------------------------------------------------
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