Re: [webmin-devel] Use of external binary from module

Udo Güngerich <[email protected]>
Newsgroups gmane.comp.web.webmin.devel
Message-ID <[email protected]>
> >   However if I run the same index.cgi from the command like (perl
> > index.cgi) the external application is executed, output is in the array
> > and I can crunch it.
> >
> >   Any pointers for me?

It seems that the command line user has a different environment than the 
webserver user (in case they really are different users). Two things that I 
could imagine:

Either the current working directory matters and is different when executed by 
the webserver (reference to the already-been-pointed-to dot) or the rights 
are different. Have you tried to execute pwd within the script?

Hope to have helped,

kind regards,

Udo Guengerich

-- 
Udo Guengerich
Grabenstr. 21
35396 Giessen
t: 0177 7495927
@: [email protected]
w: http://www.ugue.gmxhome.de


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.