delorie.com/archives/browse.cgi | search |
From: | jont AT harlequin DOT co DOT uk (Jon Thackray) |
Subject: | cp -p bug |
16 Apr 1997 03:38:22 -0700 : | |
Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
Distribution: | cygnus |
Message-ID: | <19871.9704160947.cygnus.gnu-win32@dedekind.cam.harlequin.co.uk> |
References: | <2 DOT 2 DOT 32 DOT 19970415204743 DOT 00906a5c AT postman DOT osf DOT org> |
Original-To: | gnu-win32 AT cygnus DOT com |
In-Reply-To: | <2.2.32.19970415204743.00906a5c@postman.osf.org> |
Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
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 AT cygnus DOT com" with one line of text: "help".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |