Then I did misunderstand your question. The problem with Chmod type interaction is that it is not consistent between Windows and *nix.
Windows specifies access control on files for individual users (the user can be a group) not the three general levels that *nix does. The access types are also different (read, write, change, and full control instead of read, write, execute). Windows 9x and ME do not include file permissions at all. Windows NT, 2000 and XP do. Mac OS X is built on a BSD Kernel so it should support the <chmod> task. (I never tried ant on OS X, though.) To do what you want you could use the <exec> task with a call to the command line program Change Access Control Lists (cacls). At your Windows NT, 2000 or XP command prompt type "cacls /?" for a description on how it works. -----Original Message----- From: Janusz Dalecki (TYCO) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 5:46 PM To: 'Ant Users List' Subject: RE: Changing files attributes But the documentation states that the "chmod" task works only for Unix. Janusz -----Original Message----- From: Nathan Christiansen [mailto:[EMAIL PROTECTED]] Sent: Thursday, 21 November 2002 11:38 AM To: Ant Users List Subject: RE: Changing files attributes Unless I missed something in your question it seem that the answer is easy. Try the <chmod> task. docs/manual/CoreTasks/chmod.html -----Original Message----- From: Janusz Dalecki (TYCO) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 5:30 PM To: 'Ant Users List' Subject: Changing files attributes I need to change the attributes of the files that are copied after the ant build is done. Is there a way to do that using some ant task similar to 'Chmod' that works only for Unix? Janusz -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>