Thread
Thread Index
-
libzip and file attributes,
Martin Schobert
(2009/12/17 02:52:47)
Message
Hello,
I implemented some code that adds files into a zip archive.
Afterwards I noticed that libzip does not preserve file attributes. In
my case the executable bit was ignored. I checked this under Ubuntu
(libzip 0.8.X) and OSX (libzip 0.9). Is it correct that file
attributes are not preserved due to the implementation of libzip or is
there something I missed? I found no hint in the documentation, but I
noticed [1] and [2].
So my questions are: Is the file attribute persistency really missing?
Is the flag that was added to the zip_stat structure [2] for file
attribute storage or for another purpose? And does [2] indicate, that
this will be implemented?
[1] http://pdb.finkproject.org/pdb/package.php/fuse-zip
[2] http://hg.nih.at/libzip/?cs=55a7992a900a
Regards,
Martin
Made by MHonArc.
|