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 36464] New: - Wrong directory permissions from "tar" task
Date Thu, 01 Sep 2005 14:50:34 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36464>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36464

           Summary: Wrong  directory permissions from "tar" task
           Product: Ant
           Version: 1.6.5
          Platform: HP
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: giambattista.didonna@nettest.com


Task: "tar"

The "dirmode" attribute settings in the nested "tarfileset" element don't work.
I seems that in the built tar file the "order" of files and directories is not 
correct. 
If a directory appears after some contained file, then the directory permission 
is 777 without respect to the dirmode setting.

Example: tar file containing 1 directory "aaa" and 1 file "b" contained 
into "aaa".

If the order in the tar file is the following:
/aaa/b 600
/aaa   700
the result from the extraction will be wrong: "aaa" with 777 permissions!

In the cases when the directory appears before contained files, we are lucky. 
In fact, if the order of the above example is opposite:
/aaa   700
/aaa/b 600
the result will be correct.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message