Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2000 10:17:10 -0800
From:      Kent Stewart <kstewart@3-cities.com>
To:        Blake Swensen <blake@pyramus.com>
Cc:        Walter Brameld <freebsd-questions@freebsd.org>
Subject:   Re: Moving Files--permissions not kept
Message-ID:  <38820B26.BD8853FC@3-cities.com>
References:  <3.0.16.20000116072748.1d4f811e@phil.pyramus.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38820B26.BD8853FC>