DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20275>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20275

copy tag does not preserve file permissions in linux.

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From [EMAIL PROTECTED]  2003-05-28 07:11 -------
Copy can't preserve the permissions as there is no way to determine them from
within Java.

If you need to preserve the permissions, you have to choices:

(1) You know the permissions upfront - use <chmod> after <copy> to reset them.
(2) Use <apply> instead of <copy> to invoke cp.

There is no way to fix this without falling back to some native code.

Reply via email to