ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marie-Josee Blais <mjbl...@miranda.com>
Subject RE: Changing user inside ant script
Date Fri, 25 Apr 2003 21:28:43 GMT
Thanks, works like a charm.

On Fri, 2003-04-25 at 16:06, Anderson, Robert H - MWT wrote:
> Use sudo.
> 
> http://www.courtesan.com/sudo/sudo.html
> 
> -Rob A
> 
> -----Original Message-----
> From: Marie-Josee Blais [mailto:mjblais@miranda.com]
> Sent: Friday, April 25, 2003 12:47 PM
> To: user@ant.apache.org
> Subject: Changing user inside ant script
> 
> 
> I need to execute a bash script from ant. I want to su to root and then
> call my bash script. This does not work. su returns "standard in must be
> a tty". Is there anyway of specifying the user used for an exec task ?
> 
> I need this because I have configured cruisecontrol to rebuild every day
> and I want to be able to install my software and set correct permissions
> on my files.
> 
> Thanks !
> 
> Marie-Josee Blais <mjblais@miranda.com>
> Miranda Technologies inc.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
-- 
Marie-Josee Blais <mjblais@miranda.com>
Miranda Technolgies inc.


Mime
View raw message