[Mono-list] Seucirty Exception in Build
Paul Boal
pboal@apo49.org
Fri, 26 Apr 2002 07:22:47 -0600
This is a multi-part message in MIME format.
------=_NextPart_000_0020_01C1ECF3.2A260F70
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
So, I'm trying something maybe not so orthodox. I've got my mcs-0.11 =
directory sitting on a linux machine with samba running. From Win2k, I =
map a drive to the share and pull up a Cygwin bash prompt. Go to the =
mcs-0.11 directory on that shared drive, and run make linux. After =
compiling some stuff fine, NAnt dies with a SecurityException. =
(Building on the local harddrive works fine, by the way.)
Is this a known issue? Are their different security restrictions =
messing things up since I'm using a network drive, or is this truly a =
bug with something? Probably it's a NAnt problem, huh?
--Paul
make[1]: Entering directory `/cygdrive/d/mono/mcs-0.11/mcs'
csc.exe /nologo /debug+ /debug:full /optimize /target:exe /r:System.dll =
/out:mcs.exe assign.cs attribute.cs driver.cs c
s-parser.cs cs-tokenizer.cs tree.cs location.cs cfold.cs class.cs =
codegen.cs const.cs constant.cs decl.cs delegate.cs en
um.cs ecore.cs expression.cs genericparser.cs interface.cs literal.cs =
modifiers.cs namespace.cs parameter.cs report.cs r
ootcontext.cs statement.cs support.cs typemanager.cs
make[1]: Leaving directory `/cygdrive/d/mono/mcs-0.11/mcs'
make[1]: Entering directory `/cygdrive/d/mono/mcs-0.11/class'
../nant/NAnt.exe
Unhandled Exception: System.Security.SecurityException: Request failed.
at SourceForge.NAnt.NAnt.Main(String[] args)
make[1]: *** [linux] (null)
make[1]: Leaving directory `/cygdrive/d/mono/mcs-0.11/class'
make: *** [linux] Error 1
------=_NextPart_000_0020_01C1ECF3.2A260F70
Content-Type: text/html;
charset="iso-8859-1"
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=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Courier New" size=3D2>So, I'm trying something maybe =
not so=20
orthodox. I've got my mcs-0.11 directory sitting on a linux =
machine with=20
samba running. From Win2k, I map a drive to the share and pull up =
a Cygwin=20
bash prompt. Go to the mcs-0.11 directory on that shared drive, =
and run=20
make linux. After compiling some stuff fine, NAnt dies with a=20
SecurityException. (Building on the local harddrive works fine, by =
the=20
way.)</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Is this a known issue? =
Are their=20
different security restrictions messing things up since I'm using a =
network=20
drive, or is this truly a bug with something? Probably it's a NAnt =
problem, huh?</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2>--Paul</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2>make[1]: Entering directory=20
`/cygdrive/d/mono/mcs-0.11/mcs'<BR>csc.exe /nologo /debug+ =
/debug:full =20
/optimize /target:exe /r:System.dll /out:mcs.exe assign.cs attribute.cs=20
driver.cs c<BR>s-parser.cs cs-tokenizer.cs tree.cs location.cs cfold.cs =
class.cs=20
codegen.cs const.cs constant.cs decl.cs delegate.cs en<BR>um.cs ecore.cs =
expression.cs genericparser.cs interface.cs literal.cs modifiers.cs =
namespace.cs=20
parameter.cs report.cs r<BR>ootcontext.cs statement.cs support.cs=20
typemanager.cs<BR>make[1]: Leaving directory=20
`/cygdrive/d/mono/mcs-0.11/mcs'<BR>make[1]: Entering directory=20
`/cygdrive/d/mono/mcs-0.11/class'<BR>../nant/NAnt.exe</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Unhandled Exception:=20
System.Security.SecurityException: Request failed.<BR> at=20
SourceForge.NAnt.NAnt.Main(String[] args)<BR>make[1]: *** [linux]=20
(null)<BR>make[1]: Leaving directory =
`/cygdrive/d/mono/mcs-0.11/class'<BR>make:=20
*** [linux] Error 1</FONT></DIV></BODY></HTML>
------=_NextPart_000_0020_01C1ECF3.2A260F70--