This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
cp -p bug
Bruce D. McLeod writes:
> cp -p (preserve file attributes) gives the new file a date
> in 1969:
>
> E:\cords_nt\export\winnt\winnt\comm\nt_xkern\lib>dir ju*
>
> 04/15/97 04:44p 9 junk.txt
>
> E:\cords_nt\export\winnt\winnt\comm\nt_xkern\lib>cp -p junk.txt junk2.txt
>
> E:\cords_nt\export\winnt\winnt\comm\nt_xkern\lib>dir ju*
>
> 04/15/97 04:44p 9 junk.txt
> 12/31/69 08:00p 9 junk2.txt
I have also observed this behaviour, which essentially renders cp -p
useless. It is also the case that rm -f won't remove read only files
even if you are the owner.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".