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 Fri, 30 Jan 2004 19:43:18 GMT
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


Mime
View raw message