ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 28320] copy task preserving permissions
Date Fri, 27 May 2011 21:40:39 GMT

--- Comment #20 from Igor Urisman <> 2011-05-27 21:40:39 UTC ---
The following note is completely bogus:
Unix Note: File permissions are not retained when files are copied; they end up
with the default UMASK permissions instead. This is caused by the lack of any
means to query or set file permissions in the current Java runtimes. If you
need a permission-preserving copy function, use <exec executable="cp" ... >

Ant is the application here, not the build script.  Java never claimed to be an
OS. But there's nothing that keeps Ant from knowing what OS it's running on and
if it's Unix, use a system call to do the OS appropriate copy.  Indefensibly

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message