Re: How to maintain permissions when unzipping .zip file
On Tue, 2005-03-01 at 19:06 +0800, Chris Purves wrote:
> > IIRC zip files don't record permissions.
>
> That's okay. That's not what I want. For example:
>
> archive.zip contains
> file1.txt
> file2.txt
>
> I would like to be able to set permissions and ownership to
> archive.zip and then extract and have file1.txt and file2.txt inherit
> the same ownership and permissions from what I set archive.zip.
NOW i understand what you need :) the first time i didnot.
well, i think that it is impossible.
you could make a script similar to that written by Andreas Rippl, in
which you make a chown -R after you unzip
good luck
maxi
--
Plantalta random fortune:
Chupala.
(Waldo)
Reply to: