I just found an issue where coreutils-6.9 does not seem to work right with
the --preserve=timestamps switch when copying to an nfs filesytem when the
pwd is the same directory.

I had a copy of the coreutils-5.0 available and it worked fine.

cd /some/nfs/mounted/directory

ll file
-rw-rw-r-- 1 warrend fusion2 6402 Aug 14 13:51 file

GNU/Linux RH4, coreutil-6.9, coreutils-5.0

/bin/cp                              --preserve=timestamps  file /tmp/file_1
/tools/wdtgnu/coreutils-6.9/bin/cp   --preserve=timestamps  file /tmp/file_2
/tools/wdtgnu/coreutils-5.0/bin/cp   --preserve=timestamps  file /tmp/file_3

/bin/cp                              --preserve=timestamps  file ./file_1
/tools/wdtgnu/coreutils-6.9/bin/cp   --preserve=timestamps  file ./file_2
/tools/wdtgnu/coreutils-5.0/bin/cp   --preserve=timestamps  file ./file_3

ls -al /tmp/file_1 /tmp/file_2 /tmp/file_3 ./file_1 ./file_2 ./file_3

-rw-rw-r-- 1 warrend fusion2 6402 Aug 14 13:51 ./file_1
-rw-rw-r-- 1 warrend fusion2 6402 Aug 14 14:14 ./file_2   < BAD
-rw-rw-r-- 1 warrend fusion2 6402 Aug 14 13:51 ./file_3
-rw-rw-r-- 1 warrend fusion2 6402 Aug 14 13:51 /tmp/file_1
-rw-rw-r-- 1 warrend fusion2 6402 Aug 14 13:51 /tmp/file_2
-rw-rw-r-- 1 warrend fusion2 6402 Aug 14 13:51 /tmp/file_3


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to