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

May I run wml from a setuid program? (It seems not)

In order to run from the Web server the update of HTML pages, I made a setuid 
program so that wml can write files in a directory wehere the WWW user cannot.

But it fails:
Insecure $ENV{PATH} while running setuid at /local/lib/perl5/5.00503/Cwd.pm 
line 82.

The programs sets the PATH before and all other Perl programs, besides WML, 
can be launched that way. It seems WML play tricks with the PATH.

%  wml --version
This is WML Version 1.7.1 (05-06-1999)

Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com