-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [please keep the list in the loop]
According to ctrn3e8 on 12/20/2009 10:04 PM: >>>> touch -m no longer seems to modify the file modification date. >>>> Archlinux, >>>> coreutils-8.2 (package coreutils-8.2-1-i686). Works if use >>>> coreutils-7.6. >>>> > What kernel version on which architecture (uname -a)? Can you send an > strace? We recently fixed a bug with kernel 2.6.32 failing to change > ctime when you use 'touch -a'; I wonder if there is another kernel bug we > need to be aware of. > >> > Thanks for responding: > uname: > Linux scitrin 2.6.31-ARCH #1 SMP PREEMPT Tue Nov 10 19:48:17 CET 2009 > i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ AuthenticAMD GNU/Linux > Again should not matter.....(modifying a file with a modify date from > months ago)...but hardware clock is set to UCT and time then adjusted by > operating system to local time zone > Permissions on the file I chose to modify are okay. > strace output:: ... > open("startTimidity", O_WRONLY|O_CREAT|O_NOCTTY|O_NONBLOCK|O_LARGEFILE, > 0666) = 6 > dup2(6, 0) = 0 > close(6) = 0 > utimensat(0, NULL, {UTIME_OMIT, UTIME_NOW}, 0) = 0 That works on the Linux kernels that I have attempted. I'm wondering what's not happening for you? > close(0) = 0 > close(1) = 0 > close(2) = 0 > exit_group(0) = ? Can you also show 'stat startTimidity' before and after the failing attempt at 'touch -m startTimidity'? Also, if you built coreutils from source, running 'make -C gnulib-tests check' would be informative. - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAksvcDAACgkQ84KuGfSFAYDFWQCgijnqf8r3sUAJQMAfAyc+obYC 9YUAn0bGOMpJODJV9Def2bHfxGE/S6Cy =NEjd -----END PGP SIGNATURE-----