delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/14/11:14:20

From: dynasens AT tiac DOT net (Mark Levine)
Subject: Problem with tar & touch in b17.1 on NTFS file systems
14 Mar 1997 11:14:20 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <1.5.4.32.19970314142452.008e31fc.cygnus.gnu-win32@sunspot.tiac.net>
Mime-Version: 1.0
X-Sender: dynasens AT sunspot DOT tiac DOT net
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I have been having the a common problem with both tar and touch.  I am
running Windows NT 4.0 with NTFS file systems.

The problem is all files extracted from a tar archive and all files that are
the subjet of a touch command have the file date set to 1969/12/31 with a
time in the range of around 19:00

Example (to file on NTFS partitions):

        touch -d 5/5/88 xx
        dir xx
        69/12/31  19:02         0  xx

        touch -d "5/5/88 12:34" yy
        dir yy
        69/12/31  18:58         0  yy

If I do the same to a FAT file system partition or to a Novell netware drive
the date seems to always be the current date and time.

Has anyone else seen this problem, or does it work for you?

I expect the problem is in some common library routine rather than in tar or
touch.




-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019