[Mono-list] Can't launch processes as normal user
Pablo Baena
pbaena@uol.com.ar
13 Mar 2003 15:23:36 +0000
--=-kjUeiFthpjR1eGLEnMl/
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Just to make myself clear.
Running this example:
namespace hello {
using System;
using System.Diagnostics;
public class hello
{
public static void Main (string[] args)
{
Process pt = new Process ();
pt.StartInfo.FileName="ls";
pt.StartInfo.UseShellExecute=false;
pt.Start ();
}
}
}
as user, shows nothing, but running it as root shows the contents of the
directory. It is just an example, I tried to see if it actually executes
the command, and it doesn't as user.
I tried all the versions of mono from 0.19 to 0.23 and none of them
worked.
Again: is this a bug or a new policy?
On Thu, 2003-03-13 at 03:56, Pablo Baena wrote:
> Hello! There was a time when I could launch processes with mono as a
> normal user, but that isn't the case anymore. Now I have to be logged
> in as root. Is it a bug or a new policy?
>
> Regards!
--
Pablo Baena <pbaena@uol.com.ar>
--=-kjUeiFthpjR1eGLEnMl/
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/1.1.7">
</HEAD>
<BODY>
Just to make myself clear.<BR>
<BR>
Running this example:<BR>
<BR>
<PRE>namespace hello {
using System;
using System.Diagnostics;
public class hello
{
public static void Main (string[] args)
{
Process pt = new Process ();
pt.StartInfo.FileName="ls";
pt.StartInfo.UseShellExecute=false;
pt.Start ();
}
}
}</PRE>
as user, shows nothing, but running it as root shows the contents of the directory. It is just an example, I tried to see if it actually executes the command, and it doesn't as user.<BR>
<BR>
I tried all the versions of mono from 0.19 to 0.23 and none of them worked.<BR>
<BR>
Again: i<FONT SIZE="3">s this a bug or a new policy?</FONT><BR>
<BR>
On Thu, 2003-03-13 at 03:56, Pablo Baena wrote:
<BLOCKQUOTE TYPE=CITE>
<FONT COLOR="#737373" SIZE="3"><I>Hello! There was a time when I could launch processes with mono as a normal user, but that isn't the case anymore. Now I have to be logged in as root. Is it a bug or a new policy?<BR>
<BR>
Regards!</I></FONT>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
Pablo Baena <<A HREF="mailto:pbaena@uol.com.ar">pbaena@uol.com.ar</A>>
</TD>
</TR>
</TABLE>
<BR>
<BR>
</BODY>
</HTML>
--=-kjUeiFthpjR1eGLEnMl/--