I called the following ipl file through iw_cgi_wrapper.cgi wrapper with the following URL:
http://teamSiteServer/iw-bin/iw_cgi_wrapper.cgi/test.iplI expect the file touched is modified by my user id. But TeamSite server listed it as “Modified by” “SYSTEM”. Does that mean iw_cgi_wrapper.cgi is not doing what it is supposed to do?
DevNet TechArticle: 2234, Title: Files Required to Be Setuid in TeamSite 4.5 - 5.5.2
mentioned that iw_cgi_wrapper.cig should be installed setuid-root. But we are using Window. How do we set this? In Windows only Administrator can set setuid? Or somebody in Administrator group can do that too?
# code for test.ipl
#!D:\iw-home/iw-perl/bin/iwperl
use TeamSite::CGI_lite;
my $cgi = TeamSite::CGI_lite->new();
$cgi->parse_data();
print "Content-type: text/html\n\n";
print <<"END";
<html>
<head><title>some title</title></head>
<body bgcolor='#E6FDFF'>
END
my $tmpFn = "y:/default/main/dir1/dir2/WORKAREA/area1/dirs/testFile.txt";
$rc = `touch $tmpFn`;
print "<h3>rc: $rc</h3>";
print <<"END";
</body>
</html>
END
exit 0;