[Bug 292935] New: Ark and Dolphinpart integration: Ignore __MACOSX meta data directory within zip file

Andrew ddrtist at gmail.com
Tue Jan 31 09:33:17 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=292935

           Summary: Ark and Dolphinpart integration: Ignore __MACOSX meta
                    data directory within zip file
           Product: kde
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: ddrtist at gmail.com


Created an attachment (id=68364)
 --> (http://bugs.kde.org/attachment.cgi?id=68364)
Example zip file from OS X

Version:           unspecified (using KDE 4.7.4) 
OS:                Linux

In OS X, if you 'Compress' a directory it creates a zip file with the contents
and a meta directory for OS X named __MACOSX. Inside the directory is file
names of the same name but prefixed with ._

Example:
Compress newdir containing file a.h (from Finder)

Makes a zip file with:
newdir/a.h
__MACOSX/newdir/._a.h
__MACOSX/newdir/._.DS_Store

Reproducible: Always

Steps to Reproduce:
1. Get a file zipped on OS X using Finder
2. Right-click the file in Konqueror and use Extract here.

Actual Results:  
Gets the contents as expected but also extracts the useless __MACOSX directory.

Expected Results:  
Should extract only the contents expected.

I think 99% of people on Linux and other OS's consider this directory junk and
I also think 99% of people are not going to explicitly make a __MACOSX
directory in their zip file. I would not have a problem if without checking the
contents, Ark simply did not extract __MACOSX directory if spotted in a zip
file.

A more thorough check is also acceptable too and I think the correct solution.
Basically, inspect the directory for directory names that are exactly the same
and file names that are prefixed with ._ and finding a ._.DS_Store file within
each directory as well.

I think this directory is ONLY used by the Extracting functionality built into
Finder on OS X. As such, I think Ark on OS X should not need to deal with it
either. There do not seem to be any consequences for ignoring this data on OS
X.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list