bug-coreutils
[Top][All Lists]
Advanced

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

coreutils-6.9 problem with --preserve-timestamps


From: Warren L Dodge
Subject: coreutils-6.9 problem with --preserve-timestamps
Date: Tue, 14 Aug 2007 14:57:47 -0700


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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]