Re: Copy files to NFS directory loose time stamps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Dickson wrote:

On Sun, 26 Feb 2006 09:53:32 -0800, oldman wrote:

Paul Dickson wrote:

If I do a "cp -a" to a NFS volume, the resulting files have the current
time stamp.  Do I need to change my mount options or is this a kernel bug?

Current options in fstab: defaults,owner,rw,user,auto,hard,intr,exec
This is the way cp is supposed to work. to preserve the time stamp see the man
page on cp and look for the option --preserve

No, the man page says -a preserves timestamps, but it's not.

	-Paul

Hmm.. looks like I could have read more closely that cp -a is the same as -dpR. Did you try specifying the --preserve anyway? I tested it locally and it behaves as expected. Perhaps you could try rcp or scp?

Scott

--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]