ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rice, Joe" <>
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...


-----Original Message-----
From: Dominique Devienne []
Sent: Friday, January 30, 2004 2:43 PM
To: 'Ant Users List'
Subject: RE: chmod task

> From: Rice, Joe []
> 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:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message