GNU bug report logs - #11798
touch date bug

Previous Next

Package: coreutils;

Reported by: Patrick Castet <castet02 <at> yahoo.fr>

Date: Wed, 27 Jun 2012 16:17:01 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 11798 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Patrick Castet <castet02 <at> yahoo.fr>
Cc: 11798 <at> debbugs.gnu.org, "castet01 <at> yahoo.fr" <castet01 <at> yahoo.fr>
Subject: Re: bug#11798: touch date bug
Date: Wed, 27 Jun 2012 09:23:12 -0700
On 06/27/2012 02:52 AM, Patrick Castet wrote:
> touch -d "20000102 03:04:05" a0.a

This works for me, on GNU/Linux:

$ touch -d "20000102 03:04:05" a0.a
$ ls -l --full-time a0.a
-rw-r--r--. 1 eggert eggert 0 2000-01-02 03:04:05.000000000 -0800 a0.a

I expect the problem that you're having with Windows
has to do with the file system or the Windows clock,
not with "touch" per se.  That is, I expect you'll
see the same problem regardless of whether "touch"
is used to set the file time stamp.




This bug report was last modified 13 years and 27 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.