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/07/03 15:30:05 UTC

DO NOT REPLY [Bug 21308] New: - looses stored permissions when you update existing archive

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=21308>.
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=21308

<zip> looses stored permissions when you update existing archive

           Summary: <zip> looses stored permissions when you update existing
                    archive
           Product: Ant
           Version: 1.6Alpha (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: bodewig@apache.org
        ReportedBy: bodewig@apache.org
                CC: dev@ant.apache.org


The following snippet

  <target name="zip">
    <delete file="a.zip"/>
    <touch file="a"/>
    <zip zipfile="a.zip">
      <zipfileset dir="." filemode="755" includes="a"/>
    </zip>
    <touch file="b"/>
    <zip zipfile="a.zip" update="true">
      <fileset dir="." includes="b"/>
    </zip>
  </target>

will create an archive in which a has not the filemode 755 - before updating
the archive it has.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org