Discussion:
"cp: skipping file 'file.txt', as it was replaced while being copied"
Roe, Kevin L.
2010-03-05 21:48:28 UTC
Permalink
I am getting the (apparently) classic error:  "cp: skipping file 'file.txt', as it was replaced while being copied"

It only occurs on a  network drive (netapp, nfs), but not on another network drive (mac server, samba shares)

I have search extensively and have found several references to this issue over the past several years, but none of them contain solutions that make sense to me.

Has this problem been resolved?  Can I just install the latest production version of cygwin to fix it?

This issue popped up for me when I got a 64-bit machine.  My OS  is Windows XP-64bit.

Thanks in advance.

-Kevin
Eric Blake
2010-03-05 21:58:52 UTC
Permalink
I am getting the (apparently) classic error: "cp: skipping file 'file.txt', as it was replaced while being copied"
It only occurs on a network drive (netapp, nfs), but not on another network drive (mac server, samba shares)
More details about the suspect drive would be nice:
/usr/lib/csih/getVolInfo /cygdrive/$drive
Has this problem been resolved? Can I just install the latest production version of cygwin to fix it?
Hard to tell without more details (what version are you currently running,
to know if you even can upgrade?).
Problem reports: http://cygwin.com/problems.html
--
Eric Blake ***@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
Roe, Kevin L.
2010-03-05 23:21:36 UTC
Permalink
The system in question is disconnected from the internet and has no write to cd etc capability.

That said, here is the output of the command you suggested:

For the drive that works:

Device Type : 7
Characteristics : 10
Max Filenamelength : 255
Filesystemname : <NTFS>
Flags : 4002b
FILE_CASE_SENSITIVE_SEARCH : TRUE
FILE_CASE_PRESERVED_NAMES : TRUE
FILE_UNICODE_ON_DISK : FALSE
FILE_PERSISTENT_ACLS : TRUE
FILE_FILE_COMPRESSION : FALSE
FILE_VOLUME_QUOTAS : TRUE
FILE_SUPPORTS_SPARSE_FILES : FALSE
FILE_SUPPORTS_REPARSE_POINTS: FALSE
FILE_SUPPORTS_REMOTE_STORAGE: FALSE
FILE_VOLUME_IS_COMPRESSED : FALSE
FILE_SUPPORTS_OBJECT_IDS : FALSE
FILE_SUPPORTS_ENCRYPTION : FALSE
FILE_NAMED_STREAMS : TRUE
FILE_READ_ONLY_VOLUME : FALSE
FILE_SEQUENTIAL_WRITE_ONCE : FALSE
FILE_SUPPORTS_TRANSACTIONS : FALSE


For the drive that doesn't:

Device Type : 7
Characteristics : 10
Max Filenamelength : 255
Filesystemname : <NTFS>
Flags : 4004f
FILE_CASE_SENSITIVE_SEARCH : TRUE
FILE_CASE_PRESERVED_NAMES : TRUE
FILE_UNICODE_ON_DISK : TRUE
FILE_PERSISTENT_ACLS : TRUE
FILE_FILE_COMPRESSION : FALSE
FILE_VOLUME_QUOTAS : FALSE
FILE_SUPPORTS_SPARSE_FILES : TRUE
FILE_SUPPORTS_REPARSE_POINTS: FALSE
FILE_SUPPORTS_REMOTE_STORAGE: FALSE
FILE_VOLUME_IS_COMPRESSED : FALSE
FILE_SUPPORTS_OBJECT_IDS : FALSE
FILE_SUPPORTS_ENCRYPTION : FALSE
FILE_NAMED_STREAMS : TRUE
FILE_READ_ONLY_VOLUME : FALSE
FILE_SEQUENTIAL_WRITE_ONCE : FALSE
FILE_SUPPORTS_TRANSACTIONS : FALSE



The cygwin site specifically says there is no such thing as a version of cygwin (http://cygwin.com/faq.html).

When I use the uname -a command I get the result:

CYGWIN_NT-5.2-WOW64 almaden 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin


-Kevin



-----Original Message-----
From: Eric Blake [mailto:***@redhat.com]
Sent: Friday, March 05, 2010 1:59 PM
To: ***@cygwin.com; Roe, Kevin L.
Subject: Re: "cp: skipping file 'file.txt', as it was replaced while being copied"
I am getting the (apparently) classic error: "cp: skipping file 'file.txt', as it was replaced while being copied"
It only occurs on a network drive (netapp, nfs), but not on another
network drive (mac server, samba shares)
More details about the suspect drive would be nice:
/usr/lib/csih/getVolInfo /cygdrive/$drive
Has this problem been resolved? Can I just install the latest production version of cygwin to fix it?
Hard to tell without more details (what version are you currently running, to know if you even can upgrade?).
Problem reports: http://*cygwin.com/problems.html
--
Eric Blake ***@redhat.com +1-801-349-2682
Libvirt virtualization library http://*libvirt.org
Eric Blake
2010-03-05 23:26:17 UTC
Permalink
Please keep the list in the loop:
http://cygwin.com/acronyms/#PPIOSPE
Post by Roe, Kevin L.
The system in question is disconnected from the internet and has no write to cd etc capability.
Device Type : 7
Characteristics : 10
Max Filenamelength : 255
Filesystemname : <NTFS>
Flags : 4004f
FILE_CASE_SENSITIVE_SEARCH : TRUE
FILE_CASE_PRESERVED_NAMES : TRUE
FILE_UNICODE_ON_DISK : TRUE
FILE_PERSISTENT_ACLS : TRUE
FILE_FILE_COMPRESSION : FALSE
FILE_VOLUME_QUOTAS : FALSE
FILE_SUPPORTS_SPARSE_FILES : TRUE
FILE_SUPPORTS_REPARSE_POINTS: FALSE
FILE_SUPPORTS_REMOTE_STORAGE: FALSE
FILE_VOLUME_IS_COMPRESSED : FALSE
FILE_SUPPORTS_OBJECT_IDS : FALSE
FILE_SUPPORTS_ENCRYPTION : FALSE
FILE_NAMED_STREAMS : TRUE
FILE_READ_ONLY_VOLUME : FALSE
FILE_SEQUENTIAL_WRITE_ONCE : FALSE
FILE_SUPPORTS_TRANSACTIONS : FALSE
The cygwin site specifically says there is no such thing as a version of cygwin (http://cygwin.com/faq.html).
There's no such thing as an overall distro version. But there IS such a
thing as the version of cygwin1.dll.
Post by Roe, Kevin L.
CYGWIN_NT-5.2-WOW64 almaden 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
What are you referring to when you say version?
You are running cygwin1.dll version 1.5.25. But the latest is 1.7.1.
Upgrading will probably resolve your problem. Run setup.exe from
cygwin.com.
--
Eric Blake ***@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
Roe, Kevin L.
2010-03-05 23:36:02 UTC
Permalink
Oops, sorry about the PPIOSPE mistake.

Thanks for the suggestion. I'll try it out and let you know the result.

-Kevin

-----Original Message-----
From: Eric Blake [mailto:***@redhat.com]
Sent: Friday, March 05, 2010 3:26 PM
To: Roe, Kevin L.; cygwin
Subject: Re: "cp: skipping file 'file.txt', as it was replaced while being copied"

Please keep the list in the loop:
http://*cygwin.com/acronyms/#PPIOSPE
Post by Roe, Kevin L.
The system in question is disconnected from the internet and has no write to cd etc capability.
Device Type : 7
Characteristics : 10
Max Filenamelength : 255
Filesystemname : <NTFS>
Flags : 4004f
FILE_CASE_SENSITIVE_SEARCH : TRUE
FILE_CASE_PRESERVED_NAMES : TRUE
FILE_UNICODE_ON_DISK : TRUE
FILE_PERSISTENT_ACLS : TRUE
FILE_FILE_COMPRESSION : FALSE
FILE_VOLUME_QUOTAS : FALSE
FILE_SUPPORTS_SPARSE_FILES : TRUE
FILE_SUPPORTS_REPARSE_POINTS: FALSE
FILE_SUPPORTS_REMOTE_STORAGE: FALSE
FILE_VOLUME_IS_COMPRESSED : FALSE
FILE_SUPPORTS_OBJECT_IDS : FALSE
FILE_SUPPORTS_ENCRYPTION : FALSE
FILE_NAMED_STREAMS : TRUE
FILE_READ_ONLY_VOLUME : FALSE
FILE_SEQUENTIAL_WRITE_ONCE : FALSE
FILE_SUPPORTS_TRANSACTIONS : FALSE
The cygwin site specifically says there is no such thing as a version of cygwin (http://*cygwin.com/faq.html).
There's no such thing as an overall distro version. But there IS such a thing as the version of cygwin1.dll.
Post by Roe, Kevin L.
CYGWIN_NT-5.2-WOW64 almaden 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
What are you referring to when you say version?
You are running cygwin1.dll version 1.5.25. But the latest is 1.7.1.
Upgrading will probably resolve your problem. Run setup.exe from cygwin.com.
--
Eric Blake ***@redhat.com +1-801-349-2682
Libvirt virtualization library http://*libvirt.org
Roe, Kevin L.
2010-03-12 21:18:16 UTC
Permalink
I now have 1.7.1

The problem I reported in this thread is still there.

Any other thoughts?

-Kevin

-----Original Message-----
From: cygwin-***@cygwin.com [mailto:cygwin-***@cygwin.com] On Behalf Of Roe, Kevin L.
Sent: Friday, March 05, 2010 3:36 PM
To: cygwin
Subject: RE: "cp: skipping file 'file.txt', as it was replaced while being copied"

Oops, sorry about the PPIOSPE mistake.

Thanks for the suggestion. I'll try it out and let you know the result.

-Kevin

-----Original Message-----
From: Eric Blake [mailto:***@redhat.com]
Sent: Friday, March 05, 2010 3:26 PM
To: Roe, Kevin L.; cygwin
Subject: Re: "cp: skipping file 'file.txt', as it was replaced while being copied"

Please keep the list in the loop:
http://**cygwin.com/acronyms/#PPIOSPE
Post by Roe, Kevin L.
The system in question is disconnected from the internet and has no write to cd etc capability.
Device Type : 7
Characteristics : 10
Max Filenamelength : 255
Filesystemname : <NTFS>
Flags : 4004f
FILE_CASE_SENSITIVE_SEARCH : TRUE
FILE_CASE_PRESERVED_NAMES : TRUE
FILE_UNICODE_ON_DISK : TRUE
FILE_PERSISTENT_ACLS : TRUE
FILE_FILE_COMPRESSION : FALSE
FILE_VOLUME_QUOTAS : FALSE
FILE_SUPPORTS_SPARSE_FILES : TRUE
FILE_SUPPORTS_REPARSE_POINTS: FALSE
FILE_SUPPORTS_REMOTE_STORAGE: FALSE
FILE_VOLUME_IS_COMPRESSED : FALSE
FILE_SUPPORTS_OBJECT_IDS : FALSE
FILE_SUPPORTS_ENCRYPTION : FALSE
FILE_NAMED_STREAMS : TRUE
FILE_READ_ONLY_VOLUME : FALSE
FILE_SEQUENTIAL_WRITE_ONCE : FALSE
FILE_SUPPORTS_TRANSACTIONS : FALSE
The cygwin site specifically says there is no such thing as a version of cygwin (http://**cygwin.com/faq.html).
There's no such thing as an overall distro version. But there IS such a thing as the version of cygwin1.dll.
Post by Roe, Kevin L.
CYGWIN_NT-5.2-WOW64 almaden 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
What are you referring to when you say version?
You are running cygwin1.dll version 1.5.25. But the latest is 1.7.1.
Upgrading will probably resolve your problem. Run setup.exe from cygwin.com.
--
Eric Blake ***@redhat.com +1-801-349-2682
Libvirt virtualization library http://**libvirt.org


--
Problem reports: http://*cygwin.com/problems.html
FAQ: http://*cygwin.com/faq/
Documentation: http://*cygwin.com/docs.html
Unsubscribe info: http://*cygwin.com/ml/#unsubscribe-simple
Loading...