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





------- Additional Comments From [EMAIL PROTECTED]  2006-03-06 15:52 -------
The tar file created does not preserve file permissions. From ant script 
<chmod perm="ugo+x" dir="${ac}/util" type="file" includes="**" />
 
 <tar tarfile="${tarname}" compression="gzip" basedir="${a}/package"
longfile="warn"/>

The resulting tar file has 644 permissions for the files under util
subdirectory. They should have been 755 or basically executable.

Thanks

If you want to inform me the status please send email to
[EMAIL PROTECTED](In reply to comment #0)
> 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]

Reply via email to