ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rice, Joe" <Joe.R...@solers.com>
Subject RE: chmod task
Date Mon, 02 Feb 2004 12:49:26 GMT
I've tried it with a few and I've tried running ant as a few different
users.  For instance:

- perms on the basedir start as 744 and run ant as user who owns all files
in ${basedir}
- perms on the basedir start as 711 and run ant as root

My chmod task is:
<chmod dir="${basedir}" perm="a+rx" type="both" />

In both cases nothing changes on the filesystem.

Thanks,

Joe

-----Original Message-----
From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson2@nike.com]
Sent: Friday, January 30, 2004 3:34 PM
To: Ant Users List
Subject: RE: chmod task


Joe, Solaris is definitely UNIX. What are the permissions on the files in
${basedir} ?

-Rob Anderson

> -----Original Message-----
> From: Rice, Joe [mailto:Joe.Rice@solers.com]
> Sent: Friday, January 30, 2004 11:43 AM
> To: 'Ant Users List'
> Subject: RE: chmod task
> 
> 
> Thanks.  Using debug, the only command being executed is that 
> ant is echoing
> the OS detected as SunOS.  The chmod command isn't supported 
> except on Unix.
> I would have thought Solaris qualified as Unix but maybe not. 
>  Guess I'll
> just have to try passing in chmod to the exec task...
> 
> Joe
> 
> -----Original Message-----
> From: Dominique Devienne [mailto:DDevienne@lgc.com]
> Sent: Friday, January 30, 2004 2:43 PM
> To: 'Ant Users List'
> Subject: RE: chmod task
> 
> 
> > From: Rice, Joe [mailto:Joe.Rice@solers.com]
> > 
> > I'm using the following task in my build.xml.  I'm on a 
> Solaris 8 box
> > using
> > ant 1.5.1.
> > 
> > <chmod dir="${basedir}" perm="ugo+rx" type="both" />
> > 
> > It runs fine but none of the unix file permissions actually 
> change on my
> > filesystem.  Does anybody have any tips about how to debug this?
> 
> Run with -verbose or -debug, and look at the command actually 
> executed.
> 
> Also, I believe you can change ugo+rw to a+rw. 
> User+Group+Other=All. --DD
> 
> ---------------------------------------------------------------------
> 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
> 
> 
> 


---------------------------------------------------------------------
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


Mime
View raw message