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

RFH: cvsweb - test -x fails with Perl 5.10



Hi,

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.

Regards, Daniel


Reply to: