[Cyberduck-trac] [Cyberduck] #6241: ZIP - unnecessary path structure in file

Cyberduck trac at trac.cyberduck.ch
Sun Nov 6 11:26:55 CET 2011


#6241: ZIP - unnecessary path structure in file
---------------------------+----------------------
 Reporter:  wlado          |         Owner:
     Type:  defect         |        Status:  new
 Priority:  normal         |     Milestone:
Component:  core           |       Version:  4.1
 Severity:  normal         |    Resolution:
 Keywords:  ZIP            |  Architecture:  Intel
 Platform:  Mac OS X 10.6  |
---------------------------+----------------------
Description changed by dkocher:

Old description:

> When zip (Create Archive) is used for directory - result is the directory
> containing all directories as path to original directory. It is also
> security risk, because user on other side can see structure of
> directories.
>
> Example: directory_a ==>
> directory_1/directory_2/directory_3/directory_4/directory_a/file_1 ...
>
> I expect the same behavior as in the Terminal:
>
> zip -r foo.zip directory_a
>
> result is directory_a containing file_1

New description:

 When zip (Create Archive) is used for directory - result is the directory
 containing all directories as path to original directory. It is also
 security risk, because user on other side can see structure of
 directories.

 Example: directory_a ==>
 directory_1/directory_2/directory_3/directory_4/directory_a/file_1 ...

 I expect the same behavior as in the Terminal:


 {{{
 zip -r foo.zip directory_a
 }}}


 result is directory_a containing file_1

--

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/6241#comment:3>
Cyberduck <http://cyberduck.ch>
Open source FTP, SFTP, WebDAV, Cloud Files, Google Docs & Amazon S3 Browser for Mac & Windows.


More information about the Cyberduck-trac mailing list