[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFH: cvsweb - test -x fails with Perl 5.10



Am Donnerstag, den 29.05.2008, 16:31 +0200 schrieb Daniel Leidert:

> A user reported an issue with cvsweb in http://bugs.debian.org/483442. I
> was able to track it down to be in search_path(). This function takes a
> command as argument and tries with a list of paths, if $path/$command is
> executable (-x) and not a directory (!-d).
> 
> Now this test fails with Perl 5.10, although cvsweb has all-executable
> permissions. Anybody an idea, why this fails? Using -X instead of -x
> seems to work for the moment. But testing on the effective uid/gid IMHO
> is the correct choice here.

And real and effective UID are the same. So why does -x fail? Any idea?
It cannot be a general bug, because a small test script prints the
correct result.

I really appreciate any comments helping me to understand the problem.

Regards, Daniel


Reply to: