[Zope] permission to do execv()
dannis
dannis@os.nctu.edu.tw
Tue, 28 May 2002 23:24:46 +0800
This is a multi-part message in MIME format.
------=_NextPart_000_0005_01C2069E.DAC6DB60
Content-Type: text/plain;
charset="big5"
Content-Transfer-Encoding: quoted-printable
hi all:
I'm a newbie to Zope. As my DTML doc called python script , a =
permission problem occured.
I was prompted to key in username/passwd, but I had no idea which =
account I shall use.=20
I used the function os.execv() in my script , but the function failed =
to execute because I was
unauthorized. The following is the error message:
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: Unauthorized
Error Value: You are not allowed to access execv in this context
=20
How can I get rid of this problem? Any suggestion would be =
appreciate =A1G=A1^
------=_NextPart_000_0005_01C2069E.DAC6DB60
Content-Type: text/html;
charset="big5"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>hi all:</DIV>
<DIV><FONT size=3D2> </FONT><FONT size=3D3>I'm a =
newbie to Zope.=20
As my DTML doc called python script , a permission problem =
occured.</FONT></DIV>
<DIV>I was prompted to key in username/passwd, but I had no idea which =
account I=20
shall use. </DIV>
<DIV> I used the function os.execv() in my script , but the =
function=20
failed to execute because I was</DIV>
<DIV>unauthorized. The following is the error message:</DIV>
<DIV>
<H2>Zope Error</H2>
<P>Zope has encountered an error while publishing this resource.</P>
<P><STRONG>Error Type: Unauthorized</STRONG><BR><STRONG>Error Value: You =
are not=20
allowed to access execv in this context</STRONG><BR></P> </DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2> </FONT><FONT size=3D3>How can I =
get rid of=20
this problem? Any suggestion would be appreciate =A1G=A1^</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0005_01C2069E.DAC6DB60--