From unknown Mon Jun 23 07:52:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32289: ls -ltcr and ls -lrt report different modification dates Resent-From: Ludovic Tolhurst-Cleaver Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Fri, 27 Jul 2018 12:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32289 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 32289@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.153269474015795 (code B ref -1); Fri, 27 Jul 2018 12:33:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jul 2018 12:32:20 +0000 Received: from localhost ([127.0.0.1]:59695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fj1ur-00046f-WC for submit@debbugs.gnu.org; Fri, 27 Jul 2018 08:32:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37361) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fizGA-0004Ip-AB for submit@debbugs.gnu.org; Fri, 27 Jul 2018 05:42:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fizG4-000126-HC for submit@debbugs.gnu.org; Fri, 27 Jul 2018 05:42:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33450) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fizG4-00011q-E3 for submit@debbugs.gnu.org; Fri, 27 Jul 2018 05:42:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fizG3-0000mj-CM for bug-coreutils@gnu.org; Fri, 27 Jul 2018 05:42:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fizFy-0000w0-Ge for bug-coreutils@gnu.org; Fri, 27 Jul 2018 05:41:59 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:37040) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fizFy-0000uD-6u for bug-coreutils@gnu.org; Fri, 27 Jul 2018 05:41:54 -0400 Received: by mail-wr1-x430.google.com with SMTP id q10-v6so4410350wrd.4 for ; Fri, 27 Jul 2018 02:41:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sabstt-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=cKn1f69MpRiaSXBWBz2sHXTsLmNGeyW+w1EjK47zta8=; b=CSRaLBnKJngQgXeySdsfRd2i4ZmWXMGX2907EqcTEu0yPhCHwWSmVLWu6prBAEIM13 NBwxSJGKX4Os/b5xixE4GDFCPzUnKxYULIcbPZvj5ytYThola7tp/gl5RDQiw7VepYUz 8pS6ACEH6t5LMe18TNN8TUcLE1un/da4zgMFdSj8upgJKRi8EuwLwGq4uDYR0W7oKdi8 hvMQzpitkgXSVt3EUbwFV5/suDq50NVEtJLNoDlG0CE7ne2vONeu3J6OY/1bTbZ5vkbT Q1oovePaWEmDV8kftoxhCPoCFzWTcRIBKJNeaj8ORm2CDzUYMd42fGDpFppiliViomno hAiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=cKn1f69MpRiaSXBWBz2sHXTsLmNGeyW+w1EjK47zta8=; b=hskCaURCCf5N+cyuFA+C9rysjd0qjVTUXCDp4jstWw+8YwCKdUkwQjMNg1kNCBby4R 4lVU9aowlg9OUY0TJ2mVQXv0RIdXFNC5UxJQ6zk5yuFDE+i42oE6/B/0c7cnXufEvUMo J4y2j214ISLK7hmmSGORXoanus5NkKdjhOztaQn1etxQG9cPln5dl7tnHa8HeBh0WAn8 97YUhJF2Ca5YrgYPIPK3c4gccoXrYi9m91Y0fX7TZov1qzUVgKjPzQbBJLgFWTzIhyVk ZcDxYb/X/1O05qEAdnrRAINFjQ33k53zftSl/QF4n3OD+H/JMIzKPHz9PiTT3N+qKwSi Xchw== X-Gm-Message-State: AOUpUlHbYZwgsP8mDmW+BdIjiCoDb30lT7n4GkTIhHw7ve7oqZxMQQjs syU0b69j3I6cFd+Zxt4d7rewrw5x/Z0= X-Google-Smtp-Source: AAOMgpepd0QQIMmZDD91J93pPwmaZJNCqKx737cX9l0lqMi10Odj7NPs9pqUYJJTRl1we+/F1lhxLg== X-Received: by 2002:adf:81a3:: with SMTP id 32-v6mr4449937wra.9.1532684512007; Fri, 27 Jul 2018 02:41:52 -0700 (PDT) Received: from [172.28.189.213] ([149.11.161.187]) by smtp.gmail.com with ESMTPSA id j131-v6sm3917069wmb.25.2018.07.27.02.41.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jul 2018 02:41:51 -0700 (PDT) From: Ludovic Tolhurst-Cleaver Message-ID: Date: Fri, 27 Jul 2018 10:41:50 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Mailman-Approved-At: Fri, 27 Jul 2018 08:32:16 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Dear GNU folks I believe I have found a bug in ls in the GNU coreutils v. 8.22. My colleague and I found that 'ls' reported a different date for a gzipped log file when run with different options in a directory containing a large amount of data (1000MB). In the full listing we saw that date next to a different file in the other listing. `ls -ltcr` seems to be the one showing the correct date here. I like to use `ls -ltc` because it's my initials. My colleague was running `ls -lrt`. $ ls -ltcr ludo* -rw-rw-rw- 1 pax pax 237817 Jul 20 06:53 ludovic.tolhurst-cleaver_sabstt.com-log-20180720.gz $ ls -lrt ludo* -rw-rw-rw- 1 pax pax 237817 Jul 18 12:30 ludovic.tolhurst-cleaver_sabstt.com-log-20180720.gz I'm afraid I do not have the capability to test this on any later version of the coreutils. Thanks & regards Ludo Tolhurst-Cleaver Perl Developer SABS TT From unknown Mon Jun 23 07:52:26 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ludovic Tolhurst-Cleaver Subject: bug#32289: closed (Re: bug#32289: ls -ltcr and ls -lrt report different modification dates) Message-ID: References: <76da2469-50e6-2b30-78f7-48bd9158af59@bernhard-voelker.de> X-Gnu-PR-Message: they-closed 32289 X-Gnu-PR-Package: coreutils Reply-To: 32289@debbugs.gnu.org Date: Fri, 27 Jul 2018 14:23:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1532701382-27252-1" This is a multi-part message in MIME format... ------------=_1532701382-27252-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #32289: ls -ltcr and ls -lrt report different modification dates which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 32289@debbugs.gnu.org. --=20 32289: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32289 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1532701382-27252-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 32289-done) by debbugs.gnu.org; 27 Jul 2018 14:22:54 +0000 Received: from localhost ([127.0.0.1]:60500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fj3du-00074z-EX for submit@debbugs.gnu.org; Fri, 27 Jul 2018 10:22:54 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:54684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fj3ds-00074h-Rl for 32289-done@debbugs.gnu.org; Fri, 27 Jul 2018 10:22:53 -0400 Received: from [10.0.2.15] ([62.153.148.194]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MHtgv-1fhgCG1wwX-003fOZ; Fri, 27 Jul 2018 16:22:45 +0200 Subject: Re: bug#32289: ls -ltcr and ls -lrt report different modification dates To: Ludovic Tolhurst-Cleaver , 32289-done@debbugs.gnu.org References: From: Bernhard Voelker Message-ID: <76da2469-50e6-2b30-78f7-48bd9158af59@bernhard-voelker.de> Date: Fri, 27 Jul 2018 16:22:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE-1901 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:cWofc5J+1aceKO5Mp27QoBp+nYJxq5BFCv78AJasTgoq67Y5E7s 0bCRkexjZWOMDBrW+v+54EmnlRGnBAgBEdpOVERMShtzP4KjqWSQoxkcJp5FyBgkHjt36H5 CE/LDmB0wyI0B7fHnKBZKcyS9LzUwxwvbsJ6sNERv52LlwAD4HjYq5jgtb7zFGdy0YSXo7V GZrPHlFzz/CQsVIyymjVA== X-UI-Out-Filterresults: notjunk:1;V01:K0:mWlN/8DaYPo=:mZbmkWBJEavme6xLOStSsd 0O790kkEPLrgO4Mc8T3hBZd+OmZ0qyAJSRVtNceHK1AvwFxL15ueH8ubVLfETgnIa+FU2qZ5x xusykE4fTYfu/mMqRuds8XzzJcqoac897EeDOMp0bTYcOSC1MsbjZfmXdpH1dfPArijpHQ9dG CsoVEZXhH9Oa5pRERAJ+eSCf1j0+KfapyqoyQoU4K+FLvFBXQMB1nuQBjImXF+XD692lFZNIi 2wJO1JIIDLpmINj+UAj6Kf7sn5TWb/J0eZ4os4tVytpLd2cpnwbfvpZMdTJIb6Jlt+wHqwBjt Sk3wHTHhShiW+xiy+7fIG0pfpH0g3ScIQ2VkkYdJg6LrURQcJq+vysp849hu84ud0+4ALORro J/2F7PEC2PG/e1rueJlwpJXvbp8CQDRfr3Sf7olwGoyUSMr9gCXJKJm+Si/SVpDGAvBFbAhpw dnQ5URncGwN78l3GF5eNO20weqDCZLtkV1/k/B+hKD64MIwEPHK9LvNFiW28Dt7ZDa+lTHXKQ CRIsVyY6MRs0ocMUHqBkFIHD9RmFMibweoSqloVLsJ3MzSeKP6iBIIDr0FI/3C7e64y/ra/rP RGE4hLO04AijI9jKtGF9QjswwnsyUWFMgxvebAknBZHvTIqwsdi4CKQ2M5KcKKU8cn+ILTr+v W6/9StrHBmTtypFWutMgc8Y0daYqTtgEH7+ck7efK93JxZpTH1/f3gMcwBjwk4AuI4TH1JZdx BAaf/S8HLs1R0e9t X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32289-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tag 32289 notabug close 32289 thanks On 07/27/2018 11:41 AM, Ludovic Tolhurst-Cleaver wrote: > Dear GNU folks > > I believe I have found a bug in ls in the GNU coreutils v. 8.22. > > My colleague and I found that 'ls' reported a different date for a gzipped log file when run with different options in a directory containing a large amount of data (1000MB). > > In the full listing we saw that date next to a different file in the other listing. > > `ls -ltcr` seems to be the one showing the correct date here. I like to use `ls -ltc` because it's my initials. My colleague was running `ls -lrt`. > > > $ ls -ltcr ludo* > > -rw-rw-rw- 1 pax pax 237817 Jul 20 06:53 ludovic.tolhurst-cleaver_sabstt.com-log-20180720.gz > > $ ls -lrt ludo* > > -rw-rw-rw- 1 pax pax 237817 Jul 18 12:30 ludovic.tolhurst-cleaver_sabstt.com-log-20180720.gz > > > I'm afraid I do not have the capability to test this on any later version of the coreutils. > > Thanks & regards > > Ludo Tolhurst-Cleaver > Perl Developer > SABS TT 'ls' prints the modification (mtime) per default, while -c asks to display the ctime, i.e., the time of the last status change: $ ls --help | grep -A3 -F -- ' -c ' -c with -lt: sort by, and show, ctime (time of last modification of file status information); with -l: show ctime and sort by name; otherwise: sort by ctime, newest first $ touch file $ touch -m -d yesterday file $ stat file File: file Size: 0 Blocks: 0 IO Block: 4096 regular empty file Device: 820h/2080d Inode: 540222 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 717/voelkerb) Gid: ( 1000/voelkerb) Access: 2018-07-27 16:11:13.073491312 +0200 Modify: 2018-07-26 16:11:32.953193672 +0200 Change: 2018-07-27 16:11:32.945894976 +0200 Birth: - $ ls -log file -rw-r--r-- 1 0 Jul 26 16:11 file $ ls -logc file -rw-r--r-- 1 0 Jul 27 16:11 file So choosing the options according to one's initials doesn't seem to be a good choice, or at least display other data than you might expect. ;-) As this is not a bug in 'ls', I'm marking it as such in our bug tracker. Of course, you can still continue the discussion by simply replying. Have a nice day, Berny ------------=_1532701382-27252-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 27 Jul 2018 12:32:20 +0000 Received: from localhost ([127.0.0.1]:59695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fj1ur-00046f-WC for submit@debbugs.gnu.org; Fri, 27 Jul 2018 08:32:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37361) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fizGA-0004Ip-AB for submit@debbugs.gnu.org; Fri, 27 Jul 2018 05:42:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fizG4-000126-HC for submit@debbugs.gnu.org; Fri, 27 Jul 2018 05:42:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33450) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fizG4-00011q-E3 for submit@debbugs.gnu.org; Fri, 27 Jul 2018 05:42:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fizG3-0000mj-CM for bug-coreutils@gnu.org; Fri, 27 Jul 2018 05:42:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fizFy-0000w0-Ge for bug-coreutils@gnu.org; Fri, 27 Jul 2018 05:41:59 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:37040) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fizFy-0000uD-6u for bug-coreutils@gnu.org; Fri, 27 Jul 2018 05:41:54 -0400 Received: by mail-wr1-x430.google.com with SMTP id q10-v6so4410350wrd.4 for ; Fri, 27 Jul 2018 02:41:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sabstt-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=cKn1f69MpRiaSXBWBz2sHXTsLmNGeyW+w1EjK47zta8=; b=CSRaLBnKJngQgXeySdsfRd2i4ZmWXMGX2907EqcTEu0yPhCHwWSmVLWu6prBAEIM13 NBwxSJGKX4Os/b5xixE4GDFCPzUnKxYULIcbPZvj5ytYThola7tp/gl5RDQiw7VepYUz 8pS6ACEH6t5LMe18TNN8TUcLE1un/da4zgMFdSj8upgJKRi8EuwLwGq4uDYR0W7oKdi8 hvMQzpitkgXSVt3EUbwFV5/suDq50NVEtJLNoDlG0CE7ne2vONeu3J6OY/1bTbZ5vkbT Q1oovePaWEmDV8kftoxhCPoCFzWTcRIBKJNeaj8ORm2CDzUYMd42fGDpFppiliViomno hAiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=cKn1f69MpRiaSXBWBz2sHXTsLmNGeyW+w1EjK47zta8=; b=hskCaURCCf5N+cyuFA+C9rysjd0qjVTUXCDp4jstWw+8YwCKdUkwQjMNg1kNCBby4R 4lVU9aowlg9OUY0TJ2mVQXv0RIdXFNC5UxJQ6zk5yuFDE+i42oE6/B/0c7cnXufEvUMo J4y2j214ISLK7hmmSGORXoanus5NkKdjhOztaQn1etxQG9cPln5dl7tnHa8HeBh0WAn8 97YUhJF2Ca5YrgYPIPK3c4gccoXrYi9m91Y0fX7TZov1qzUVgKjPzQbBJLgFWTzIhyVk ZcDxYb/X/1O05qEAdnrRAINFjQ33k53zftSl/QF4n3OD+H/JMIzKPHz9PiTT3N+qKwSi Xchw== X-Gm-Message-State: AOUpUlHbYZwgsP8mDmW+BdIjiCoDb30lT7n4GkTIhHw7ve7oqZxMQQjs syU0b69j3I6cFd+Zxt4d7rewrw5x/Z0= X-Google-Smtp-Source: AAOMgpepd0QQIMmZDD91J93pPwmaZJNCqKx737cX9l0lqMi10Odj7NPs9pqUYJJTRl1we+/F1lhxLg== X-Received: by 2002:adf:81a3:: with SMTP id 32-v6mr4449937wra.9.1532684512007; Fri, 27 Jul 2018 02:41:52 -0700 (PDT) Received: from [172.28.189.213] ([149.11.161.187]) by smtp.gmail.com with ESMTPSA id j131-v6sm3917069wmb.25.2018.07.27.02.41.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jul 2018 02:41:51 -0700 (PDT) From: Ludovic Tolhurst-Cleaver Subject: ls -ltcr and ls -lrt report different modification dates To: bug-coreutils@gnu.org Message-ID: Date: Fri, 27 Jul 2018 10:41:50 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 27 Jul 2018 08:32:16 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Dear GNU folks I believe I have found a bug in ls in the GNU coreutils v. 8.22. My colleague and I found that 'ls' reported a different date for a gzipped log file when run with different options in a directory containing a large amount of data (1000MB). In the full listing we saw that date next to a different file in the other listing. `ls -ltcr` seems to be the one showing the correct date here. I like to use `ls -ltc` because it's my initials. My colleague was running `ls -lrt`. $ ls -ltcr ludo* -rw-rw-rw- 1 pax pax 237817 Jul 20 06:53 ludovic.tolhurst-cleaver_sabstt.com-log-20180720.gz $ ls -lrt ludo* -rw-rw-rw- 1 pax pax 237817 Jul 18 12:30 ludovic.tolhurst-cleaver_sabstt.com-log-20180720.gz I'm afraid I do not have the capability to test this on any later version of the coreutils. Thanks & regards Ludo Tolhurst-Cleaver Perl Developer SABS TT ------------=_1532701382-27252-1-- From unknown Mon Jun 23 07:52:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32289: Fwd: Fwd: Fwd: ls -ltcr and ls -lrt report different modification dates Resent-From: Ludovic Tolhurst-Cleaver Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Fri, 27 Jul 2018 14:53:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32289 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 32289@debbugs.gnu.org Received: via spool by 32289-submit@debbugs.gnu.org id=B32289.153270312330059 (code B ref 32289); Fri, 27 Jul 2018 14:53:03 +0000 Received: (at 32289) by debbugs.gnu.org; 27 Jul 2018 14:52:03 +0000 Received: from localhost ([127.0.0.1]:60529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fj467-0007of-08 for submit@debbugs.gnu.org; Fri, 27 Jul 2018 10:52:03 -0400 Received: from mail-wr1-f50.google.com ([209.85.221.50]:37064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fj2WQ-000589-Kl for 32289@debbugs.gnu.org; Fri, 27 Jul 2018 09:11:06 -0400 Received: by mail-wr1-f50.google.com with SMTP id q10-v6so5014362wrd.4 for <32289@debbugs.gnu.org>; Fri, 27 Jul 2018 06:11:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sabstt-com.20150623.gappssmtp.com; s=20150623; h=subject:references:to:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=zvVkxTAZnnyZ3lq9Rsn7EmzSViiAd/nW4neUvpwnjv8=; b=oA0JGhkzEXbGdUDaBnjvgwhmEJ04cQxVIL40R2b+UYFIiZWCFY6HG3xsR52yLg4vI3 +B4EapcgPmQFo1+WQSxCwfk2xtihhsuyhmtOwPUcmvlP/hCPvyTnOzRBEz1M2PkiqWuw i6nmlOJPlkJTESbY9spqu1g4+R/KqlTV24bC3aXiRCwyLc4hN4pQfTxdHeMXUXtFrAtT /zZ4nWAskLvpwZ/mE7PFwoSvHaFgaIa1Jlk4l1yGkNoUTtJ1gQX8WKMOpbZkBFIZbXaP gwe3W5KX8Z3J2MHtOzOSh4l1wCAA60bBwFduqs/c1XlscTZuSA+ZzT1NxmTpW3h3p5F4 ndwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:references:to:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=zvVkxTAZnnyZ3lq9Rsn7EmzSViiAd/nW4neUvpwnjv8=; b=Y28T58qTt80WB/t8UeKSFVBx3nIPFfulN7BV42X7Or2DChyAemcTKlc6ssk6BO4xAm eSL+bIcyEvQMyo1ZiJseXB6pJY3t3tPpVnvnpBvYRw7u8tFaMOeErl5ZQ6bi0F2Lj/VR A04la0P6yusvfVuBfTUd7JzjOom4qE4XETx6i9CjXqU6M/EhZqsPH+zAZl+hwRy3XKTN LAfkwLhS7VmnF4yDBY4Gjwv2iMPigoKlTc59FZjunnsUpHvXtk9I5p1tQCh1Eisriw4Z 0H6ypOIfdEOnutJK1+zAWLpODiFRWBHSoboW7FWtWJ+AaEi9fDWPyUvenKfemByRGHZX VKrQ== X-Gm-Message-State: AOUpUlGVqaCMZLUnktn2Uvlm+aKZl1mQLZrJKMHRynEi/1vDw6sFP2f+ s4utWFiZhyut/AOkvcw3UMWuqf15/Lo= X-Google-Smtp-Source: AAOMgpdxaKf0UikYx+QEbYFEngymwSC80HOb1N0R1wVgHMphZDREenjVUl/poBWBfaAuRx2Kj1cB1g== X-Received: by 2002:adf:c4a7:: with SMTP id m36-v6mr4763728wrf.103.1532697060777; Fri, 27 Jul 2018 06:11:00 -0700 (PDT) Received: from [172.28.189.213] ([149.11.161.187]) by smtp.gmail.com with ESMTPSA id h7-v6sm3129407wmb.48.2018.07.27.06.10.59 for <32289@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jul 2018 06:11:00 -0700 (PDT) References: <815462ab-0b1b-15b8-2135-a282ffab9c12@sabstt.com> From: Ludovic Tolhurst-Cleaver X-Forwarded-Message-Id: <815462ab-0b1b-15b8-2135-a282ffab9c12@sabstt.com> Message-ID: <0dd7206d-c5b9-bae8-8c24-bb8f514fded2@sabstt.com> Date: Fri, 27 Jul 2018 14:10:59 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <815462ab-0b1b-15b8-2135-a282ffab9c12@sabstt.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Fri, 27 Jul 2018 10:52:00 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) -------- Forwarded Message -------- Apologies again folks: ls -ltc and ls -lt output different information by design. Please forgive me wasting your time. L. -------- Forwarded Message -------- Apologies - here is the OS information: $ cat /proc/version Linux version 3.10.0-862.3.3.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) ) #1 SMP Fri Jun 15 04:15:27 UTC 2018 Many thanks LTC -------- Forwarded Message -------- Dear GNU folks I believe I have found a bug in ls in the GNU coreutils v. 8.22. My colleague and I found that 'ls' reported a different date for a gzipped log file when run with different options in a directory containing a large amount of data (1000MB). In the full listing we saw that date next to a different file in the other listing. `ls -ltcr` seems to be the one showing the correct date here. I like to use `ls -ltc` because it's my initials. My colleague was running `ls -lrt`. $ ls -ltcr ludo* -rw-rw-rw- 1 pax pax 237817 Jul 20 06:53 ludovic.tolhurst-cleaver_sabstt.com-log-20180720.gz $ ls -lrt ludo* -rw-rw-rw- 1 pax pax 237817 Jul 18 12:30 ludovic.tolhurst-cleaver_sabstt.com-log-20180720.gz I'm afraid I do not have the capability to test this on any later version of the coreutils. Thanks & regards Ludo Tolhurst-Cleaver Perl Developer SABS TT From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 29 23:45:30 2018 Received: (at control) by debbugs.gnu.org; 30 Oct 2018 03:45:31 +0000 Received: from localhost ([127.0.0.1]:52841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHKyA-0008Cl-KA for submit@debbugs.gnu.org; Mon, 29 Oct 2018 23:45:30 -0400 Received: from mail-pf1-f177.google.com ([209.85.210.177]:39272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHKy9-000873-2j for control@debbugs.gnu.org; Mon, 29 Oct 2018 23:45:29 -0400 Received: by mail-pf1-f177.google.com with SMTP id c25-v6so5085371pfe.6 for ; Mon, 29 Oct 2018 20:45:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:message-id:date:user-agent:mime-version:content-language :content-transfer-encoding; bh=7mt2Z7JwmYfFIjwPrZYYdwGa2UR0BCPRmTkh/6Jn/EE=; b=NteB25fOZR+zMXuOmVJfC1dvYutl+182ibifBoBxz6Y5himUZ6eV6lr8zAAlIOHsD6 FTMDzcELGa0yZM4wYXbo+qpRb3JBMjpUcaNe2ZQFqyGd6EyKKlaKCy/TIIz2tuw6rN2E tUNsJAZjUpG7w3RVLG/nRTKCTKsHG354hAgxNrYI1UjKAs3prANZbcqGkv3/z8NqYFPj 8nzWPZJr+IvrlqECa0AE6jwLMRNyHaaOJuXxHx4mGeUfH7U6tS6gg53SlN4FB2v4j7w+ sTosNwb8KYjtjlH0gLp5Fj7v0NCQC681I+yI2c23lzrd/eJaSEGBSj6Sjvsyqm3nE3be ZBtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=7mt2Z7JwmYfFIjwPrZYYdwGa2UR0BCPRmTkh/6Jn/EE=; b=jpEvfxd33I5xucvEzDYFVa2TfQrCphyvYBHFaH3LNlJaKQtKT3bEvSQeguehN0RrpC iNsZRLWZ+wWeQ1hA7blxRWsMjFuu8vJc4x6g4y9AQ8LjG3SQ3rSrhHdVPOit3eomlhuH x4qsi2zjmEhlWwUUKbe5GparY+zf/fXckCzMe4HvE0Uj9bbMyxFrWCwYaw7tFhV44wUe BpBDLGEwELrbxf0JIbnlcHmJulcQOC7um815k9Y8vk/pDtx+ghUgDQHE9IMyT3lf0KjR VIQqgSDUs9564IaTgInqO8aGb6/QYxh09Ujrqzf/576x8F/Vuav5plKNI5jsO6EuZjU+ OYqQ== X-Gm-Message-State: AGRZ1gIKwtDSriVaSzzJvN/41M2ZaaIk5jietNCkWnSTr8x1iXJ2FQ3Z M+T0HkGvaAAzljdMi3f0Wz0U1nO2T4w= X-Google-Smtp-Source: AJdET5cUwKm3tvQXfpjRAMbp+Un7TYSYjE9ZLxPGjZzulldWvFGiYv/SZ58LVqi2eaKkJ7Sl8eFY6Q== X-Received: by 2002:a63:cb51:: with SMTP id m17-v6mr15959343pgi.105.1540871122839; Mon, 29 Oct 2018 20:45:22 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id o12-v6sm24718278pgv.7.2018.10.29.20.45.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 20:45:21 -0700 (PDT) To: control@debbugs.gnu.org From: Assaf Gordon Message-ID: <3ac962ad-c3d4-0c57-cdc6-6b1004d1364f@gmail.com> Date: Mon, 29 Oct 2018 21:45:20 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: unarchive 32289 close 32292 forcemerge 32289 32292 [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (assafgordon[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.210.177 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.210.177 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) unarchive 32289 close 32292 forcemerge 32289 32292