From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1020c6,23d057eea2283ea X-Google-Attributes: gid1020c6,public X-Google-Thread: f678f,23d057eea2283ea X-Google-Attributes: gidf678f,public X-Google-Thread: 1164f8,23d057eea2283ea X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,23d057eea2283ea X-Google-Attributes: gidfee84,public From: klaus@wanda.physik.fu-berlin.de (Wolfram Klaus) Subject: Re: Tar and NFS Date: 1996/06/12 Message-ID: #1/1 X-Deja-AN: 159782352 references: <4plend$7cf@aggedor.rmit.EDU.AU> organization: Freie Universitaet Berlin x-access: 16 17 18 newsgroups: comp.sys.dec,comp.unix.admin,comp.unix.osf.osf1,comp.unix.osf.misc s9010721@minyos.its.rmit.EDU.AU (Aaron McDonough) writes: >Hi, > Does anybody know how to restore files from magnetic tape to an >NFS mounted disk and properly restore uid's and gid's correctly. Using tar >(and gtar) the ownership is set back to nobody(the anonymous NFS user) >instead of the correct users. uid's and gid's are set correctly in the tar >file and match those on the remote system, but the error still occurs. >Does anybody know how to get around this problem? >Any help will be *very much* appreciated. >Cheers, > Aaron. If you tar as root onto a NFS drive, which doesn't export with -root=0 you will be nobody to the NFS server. Solution: Either export the file system with -root=0 (temporarily) or restore the files directly on the NFS server machine. In both cases you need root privileges on the server. Wolfram -- Wolfram Klaus (klaus@manuel.physik.fu-berlin.de) FU Berlin, FB Physik ************************************************************************* ************ Linux ... the choice of a GNU generation ******************* *************************************************************************