in reply to Calling a C++ binary from Perl

Thanks for the suggestions, everyone! I ended up viewing the contents of all the files in the directory that appeared to be config files and noticed there was a reference to /tmp in there. I checked /tmp and found a file belonging to the c++ application that needed to be a+w but wasn't... So it was permissions after all!

Replies are listed 'Best First'.
Re^2: Calling a C++ binary from Perl
by skx (Parson) on May 14, 2005 at 08:38 UTC
Re^2: Calling a C++ binary from Perl
by polettix (Vicar) on May 14, 2005 at 14:47 UTC
    Don't do that. Chances are that the file was created while you were testing your app with your account, but if the app is supposed to be executed only by the apache/nobody/whatever CGI user just change the file owner leaving the permissions as they are were before (you probably can afford pretty the same result simply removing the file and letting the application re-create it from scratch).

    Flavio (perl -e 'print(scalar(reverse("\nti.xittelop\@oivalf")))')

    Don't fool yourself.