You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/05/27 23:13:40 UTC

DO NOT REPLY [Bug 20275] New: - copy tag does not preserve file permissions in linux.

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.

           Summary: copy tag does not preserve file permissions in linux.
           Product: Ant
           Version: 1.5.2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: michel.monette@adobe.com


I just completed a small sample build.xml and found that the <copy> tag does 
not preserve file permissions when using the following format.

<copy file="${copy.file1}" tofile="${copy.dir.tofile1}" overwrite="yes" 
failonerror="false"/>

I didn't try it with the <fileset> type.

Thanks,

Michel