ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20275] New: - copy tag does not preserve file permissions in linux.
Date Tue, 27 May 2003 21:13:40 GMT
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

Mime
View raw message