On Sun, 2006-02-26 at 09:53 -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
>
> -Paul
>
>
>
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
cp -a also preserves the time stamp. The man page for cp says
-a, --archive
same as -dpR
I would suspect this is related to nfs and not the cp command.
The mount options may have an affect, as well as needing to be 100%
certain the destination has proper permissions.
Scott