Bruce Hayden wrote:
Does unzip have a way to preserve the owner?  I see the -X option in
the man page, maybe you have to add that.  I'd suggest using tar
instead, and if you want it compressed, add the -z option.

zip/unzip are basically DOS programs (they are that old). They only
store DOS-type info (maybe with long file names).


On 10/16/07, Romanowski, John (OFT) <[EMAIL PROTECTED]> wrote:
As userid root I'm using zip and unzip to copy and restore a directory
of files not owned by root (they're owner/group is oracle/oinstall).

I find the unzip-ed files and directories are all owned by root/root
instead of oracle/oinstall as I expected.
 Am I expecting too much?
Maybe should use gzip/gunzip instead?

use tar, star, pax, cpio, afio or similar. All are *x programs, and some
may even understand extended attributes.

gzip and bzip2 compress single files, such as one of the above's
archives. I'm not sure you'd want to expect the CPU cycles to compress a
decently large archive.



--

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]

Please do not reply off-list

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to