On Oct 16, 2007, at 11:42 AM, Romanowski, John (OFT) 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?
What version of zip are you running? Info-zip 2.31 seems to include extra file attributes (uid/gid) by default. Do you have an oracle/oinstall user/group with the same uid/gid on the target system? If not, then maybe that's why it's failing: if the target user or uid/group or gid doesn't exist, making it owned by "root" would seem to be not unreasonable default behavior. Adam ---------------------------------------------------------------------- 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
