Quoth Alma J Wetzker: > Kurt Wall <[EMAIL PROTECTED]> Thu, 18 Sep 2003 21:52:53 -0400 > > > >The files and directories will retain the UIDs and GIDs, so when the > >proper password and group files are restored, the UIDs and GIDs will > >map to the appropriate names. > > <Clueless Mode> > I thought that if I cp'd stuff to a CDR that the owner changed to who > cp'd the files. I haven't tried gziping them and uzgziping but I > thought the owner was the one who did the restore. (I vaguely remember > an option on *zip to preserve owner, but I never used it.) I know with > tar or cpio ownership can be preserved. > > Is the owner preserved now regardless of how the restore is done? > </Clueless Mode>
It depends on what command you use and what options used with that command. "cp -p" preserves ownership bits (among others). tar lets you specify ownership (see --group and --owner), and has other options for not restoring default ownership. cpio has similar functionality. Kurt -- Have you ever noticed that the people who are always trying to tell you, "There's a time for work and a time for play," never find the time for play? _______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
