From owner-freebsd-questions Sun Jan 16 11: 3:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from corinth.bossig.com (corinth.bossig.com [208.26.239.66]) by hub.freebsd.org (Postfix) with ESMTP id 3C6A614F5A for ; Sun, 16 Jan 2000 11:03:22 -0800 (PST) (envelope-from kstewart@3-cities.com) Received: from 3-cities.com (kenn2249.bossig.com [208.26.242.249]) by corinth.bossig.com (Rockliffe SMTPRA 3.4.5) with ESMTP id ; Sun, 16 Jan 2000 10:24:40 -0800 Message-ID: <38820B26.BD8853FC@3-cities.com> Date: Sun, 16 Jan 2000 10:17:10 -0800 From: Kent Stewart Organization: Columbia Basin Virtual Community Project X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Blake Swensen Cc: Walter Brameld Subject: Re: Moving Files--permissions not kept References: <3.0.16.20000116072748.1d4f811e@phil.pyramus.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Blake Swensen wrote: > > I am trying to move/copy files from one NFS mounted volume to a local > volume. These are files owned by a variety of users but when moved the > ownership is not carried with the file. So when I move the files as root, > the ownership of the new files is changed from the original owner to root > and and mode is changed to 664. Do a man on cp and pay attention to the "-p" option. I normally use -Rp. I usually don't have symbolic links in the areas that I am copying. Kent > > The NFS server is novell with Netware NFS (hence the need to move the files). > > I have tried to tar the files first (with -p) and have tried dump as well. > Any ideas on how I can move these files and still keep the permissions? > > Peace, > Blake > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html FreeBSD News http://daily.daemonnews.org/ SETI(Search for Extraterrestrial Intelligence) @ HOME http://setiathome.ssl.berkeley.edu/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message