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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]