Re: Copy files to NFS directory loose time stamps

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

 



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
> 

-- 
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]