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

<unzip>&Co extract absolute paths at the root.





------- Additional Comments From [EMAIL PROTECTED]  2004-05-12 08:33 -------
I support it depends on how absolute paths in zip files
should be treated.

The jar command can handle zip files (jar files are zip files),
it honours the absolute path.

The linux unzip command does not honour the absolute path,
it strips the leading / and treats the paths as relative
paths. It does this with a lot of whining:

warning:  stripped absolute path spec from /
mapname:  conversion of  failed
warning:  stripped absolute path spec from /home/
   creating: home/
warning:  stripped absolute path spec from /home/preilly/
   creating: home/preilly/
warning:  stripped absolute path spec from /home/preilly/tmp/
   creating: home/preilly/tmp/
warning:  stripped absolute path spec from /home/preilly/tmp/build.xml
  inflating: home/preilly/tmp/build.xml

Since <unzip/> and <unjar/> are basicly the same task,
it would be odd to have different behaviour for them.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to