|Subject:||FindBin($Bin) gives the wrong result in userdir/suexec/ubuntu|
On my just installed Ubuntu 10.10, I've set up suexec-custom and userdir to point to a dir that I 'create' by making a softlink into my development directory. one of the perl cgi scripts is called 'edit', and FindBin($Bin) is returning '/usr/bin' rather than '/home/sven/foswiki/core/bin' it appears the incorrect result is due to a softlink '/usr/bin/edit' - if you call the cgi script the same thing as an actual executable, FindBin works as expected. FindBin 1.50, perl 5.10.1 -------------snip from running attached script in my setup I'm actually in /home/sven/src/foswiki/core/bin and FindBin($Bin) thinks i'm in /usr/bin FindBin version 1.50 --------------- the apache cfg is a variation onPS - why is rt only listing version 1.0.4? Cheers Sven
Message body not shown because it is not plain text.