DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28320>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28320 copy task preserving permissions ------- Additional Comments From [EMAIL PROTECTED] 2004-04-13 11:23 ------- We have mis-explained <chmod>. <chmod> is a noop on Windows. So you put it in your code to set the exe permissions. On unix, after the task is invoked, the target files are executable because the permissions were set. On windows, after the task is invoked, the target files are executable because there was no need to set the permissions. To repeat: use chmod after your copy, it has the desired outcome on all platforms. Also, when archiving stuff up, use <tarfileset> to set the permissions on a tar file. It will do this regardless of the platform you are running on. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]