bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

touch (4.5.3) does not update modification time


From: Tom Jones
Subject: touch (4.5.3) does not update modification time
Date: Tue, 5 Jun 2007 14:57:01 -0700

Hello,

I'm using touch V4.5.3 on Linux and it doesn't seem to update the
modification time - or rather it updates it to 4-7s ago which won't work
for me since I'm using it to touch a dummy object for make.

$ date;touch dummy;date;ls -lt
Tue Jun  5 14:52:37 PDT 2007
Tue Jun  5 14:52:37 PDT 2007
total 552
...
-rw-r--r--    1 tjones   hardware        0 Jun  5 14:45 dummy
...

I have worked around the problem by always doing 'touch -m'

I couldn't find this in the archive and I can't tell if it is a
duplicate of
http://lists.gnu.org/archive/html/bug-fileutils/2001-01/msg00032.html

~Tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]