Received: (at 7184) by debbugs.gnu.org; 11 Oct 2010 14:26:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 11 10:26:35 2010 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1P5JKl-0000iW-KM for submit <at> debbugs.gnu.org; Mon, 11 Oct 2010 10:26:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <eblake <at> redhat.com>) id 1P5JKj-0000iR-9d for 7184 <at> debbugs.gnu.org; Mon, 11 Oct 2010 10:26:34 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o9BETvTc021609 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 11 Oct 2010 10:29:57 -0400 Received: from [10.3.113.30] (ovpn-113-30.phx2.redhat.com [10.3.113.30]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id o9BETubq020309; Mon, 11 Oct 2010 10:29:57 -0400 Message-ID: <4CB31F64.9010203 <at> redhat.com> Date: Mon, 11 Oct 2010 08:29:56 -0600 From: Eric Blake <eblake <at> redhat.com> Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.4 MIME-Version: 1.0 To: Steven Lee <stlee987 <at> gmail.com> Subject: Re: bug#7184: Problems with timestamp on FAT32 directories References: <4CB181FC.4040709 <at> gmail.com> <4CB2FDA2.30206 <at> redhat.com> <4CB31025.9090809 <at> gmail.com> In-Reply-To: <4CB31025.9090809 <at> gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Spam-Score: -10.1 (----------) X-Debbugs-Envelope-To: 7184 Cc: 7184 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -10.1 (----------) [please don't top-post] On 10/11/2010 07:24 AM, Steven Lee wrote: > Hi Eric, > > The change-time information is there as it shows up properly in Windows > Explorer. In addition, files are okay under Cygwin; the problem is only > with directories. But as I already said, this is not a coreutils issue, but a cygwin issue. If you want it fixed in cygwin, then you need to report it to the cygwin folks. -- Eric Blake eblake <at> redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:bug#7184; Package coreutils.
Full text available.Received: (at 7184) by debbugs.gnu.org; 11 Oct 2010 14:00:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 11 10:00:31 2010 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1P5IvX-0000X5-5D for submit <at> debbugs.gnu.org; Mon, 11 Oct 2010 10:00:31 -0400 Received: from mail-qw0-f44.google.com ([209.85.216.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <stlee987 <at> gmail.com>) id 1P5IJs-0000Gy-Rs for 7184 <at> debbugs.gnu.org; Mon, 11 Oct 2010 09:21:37 -0400 Received: by qwc9 with SMTP id 9so1422779qwc.3 for <7184 <at> debbugs.gnu.org>; Mon, 11 Oct 2010 06:25:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=BqWjtEkql2b8P+HxE2OXj3bFbERQBN/dzIKOzAOi7o8=; b=u5pz0glSP6ExjAlpp457odqKREn27x6fZZChzH46Omto+6r0KNaKL/4Et6/BjgKenk gPQrtr5z8a0AjmUDWufWocZhj/d3dW/Tm0lijLpEkKBXRak8j1EwfFkmk+Ngcax1eo9h 4bnFcLlNZKq3TRuUdkelBOcw+pnt2OIeUv9hQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=l0CO1H2ygiOXjcXjdW97Gjin8fC57+YMNMyoLsDySnNKGq37lbjQfGUZ9yu85hiRUC BG55yM97+Xrxp4VN3PbWprBFg8acLrQmb6GpqvpMBhojZKYIlIPyIHhCDMP4wQm8hnzW LOdb9U5k+wuxL3HT2oraWIR7Wyl1rRSSzLoc4= Received: by 10.224.190.3 with SMTP id dg3mr4556964qab.68.1286803501233; Mon, 11 Oct 2010 06:25:01 -0700 (PDT) Received: from [192.168.1.69] (76-220-42-177.lightspeed.sntcca.sbcglobal.net [76.220.42.177]) by mx.google.com with ESMTPS id t35sm2173923qco.6.2010.10.11.06.24.59 (version=SSLv3 cipher=RC4-MD5); Mon, 11 Oct 2010 06:25:00 -0700 (PDT) Message-ID: <4CB31025.9090809 <at> gmail.com> Date: Mon, 11 Oct 2010 06:24:53 -0700 From: Steven Lee <stlee987 <at> gmail.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.12) Gecko/20100914 Thunderbird/3.0.8 MIME-Version: 1.0 To: Eric Blake <eblake <at> redhat.com> Subject: Re: bug#7184: Problems with timestamp on FAT32 directories References: <4CB181FC.4040709 <at> gmail.com> <4CB2FDA2.30206 <at> redhat.com> In-Reply-To: <4CB2FDA2.30206 <at> redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: 7184 X-Mailman-Approved-At: Mon, 11 Oct 2010 10:00:30 -0400 Cc: 7184 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -3.5 (---) Hi Eric, The change-time information is there as it shows up properly in Windows Explorer. In addition, files are okay under Cygwin; the problem is only with directories. FYI, I want to use rsync under Cygwin to backup files but it's causing all of my directories to be resetted to the epoch time. -Steven On 10/11/2010 5:05 AM, Eric Blake wrote: > On 10/10/2010 03:06 AM, Steven Lee wrote: >> On an IOMega 500 GB Home Network Hard Drive with a FAT32 partition, all >> of the directories are showing up as "1969-12-31 16:00" (or essentially >> no date), but when viewing the directory in Windows Explorer, > >> Any idea what could be wrong? > > There's the issue. FAT is an inherently metadata-poor file system, > which lacks a lot of information. Then Windows mistakenly treats > stat()'s ctime as creation-time instead of change-time. Cygwin MUST > fake timestamps for information that is not present in the native > filesystem, so it's easier to fake the epoch (0 seconds since Jan 1 > 1970, adjusted for your timezone) than it is to fake any other date. > If you have further questions, you should raise them with the cygwin > list, as there is nothing that coreutils can do about the inherent > lack of information in your filesystem nor with cygwin's choice of how > to fake that information. >
owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:bug#7184; Package coreutils.
Full text available.Received: (at 7184) by debbugs.gnu.org; 11 Oct 2010 12:02:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 11 08:02:35 2010 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1P5H5O-0008Af-JN for submit <at> debbugs.gnu.org; Mon, 11 Oct 2010 08:02:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <eblake <at> redhat.com>) id 1P5H5L-0008Aa-VW for 7184 <at> debbugs.gnu.org; Mon, 11 Oct 2010 08:02:33 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o9BC5tw6032667 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 11 Oct 2010 08:05:56 -0400 Received: from [10.3.113.30] (ovpn-113-30.phx2.redhat.com [10.3.113.30]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id o9BC5tZV003612; Mon, 11 Oct 2010 08:05:55 -0400 Message-ID: <4CB2FDA2.30206 <at> redhat.com> Date: Mon, 11 Oct 2010 06:05:54 -0600 From: Eric Blake <eblake <at> redhat.com> Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.4 MIME-Version: 1.0 To: Steven Lee <stlee987 <at> gmail.com> Subject: Re: bug#7184: Problems with timestamp on FAT32 directories References: <4CB181FC.4040709 <at> gmail.com> In-Reply-To: <4CB181FC.4040709 <at> gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -10.1 (----------) X-Debbugs-Envelope-To: 7184 Cc: 7184 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -10.1 (----------) On 10/10/2010 03:06 AM, Steven Lee wrote: > On an IOMega 500 GB Home Network Hard Drive with a FAT32 partition, all > of the directories are showing up as "1969-12-31 16:00" (or essentially > no date), but when viewing the directory in Windows Explorer, > Any idea what could be wrong? There's the issue. FAT is an inherently metadata-poor file system, which lacks a lot of information. Then Windows mistakenly treats stat()'s ctime as creation-time instead of change-time. Cygwin MUST fake timestamps for information that is not present in the native filesystem, so it's easier to fake the epoch (0 seconds since Jan 1 1970, adjusted for your timezone) than it is to fake any other date. If you have further questions, you should raise them with the cygwin list, as there is nothing that coreutils can do about the inherent lack of information in your filesystem nor with cygwin's choice of how to fake that information. -- Eric Blake eblake <at> redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:bug#7184; Package coreutils.
Full text available.Received: (at submit) by debbugs.gnu.org; 10 Oct 2010 12:59:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 10 08:59:14 2010 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1P4vUf-0006yb-K2 for submit <at> debbugs.gnu.org; Sun, 10 Oct 2010 08:59:14 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <stlee987 <at> gmail.com>) id 1P4sN1-0004t8-8n for submit <at> debbugs.gnu.org; Sun, 10 Oct 2010 05:39:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <stlee987 <at> gmail.com>) id 1P4sQD-0004x4-Cp for submit <at> debbugs.gnu.org; Sun, 10 Oct 2010 05:42:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:45379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <stlee987 <at> gmail.com>) id 1P4sQD-0004ws-A3 for submit <at> debbugs.gnu.org; Sun, 10 Oct 2010 05:42:25 -0400 Received: from [140.186.70.92] (port=43440 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4sQ9-0008Ht-Hp for bug-coreutils <at> gnu.org; Sun, 10 Oct 2010 05:42:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <stlee987 <at> gmail.com>) id 1P4rrB-00068I-RF for bug-coreutils <at> gnu.org; Sun, 10 Oct 2010 05:06:14 -0400 Received: from mail-px0-f169.google.com ([209.85.212.169]:36701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <stlee987 <at> gmail.com>) id 1P4rrB-000689-LO for bug-coreutils <at> gnu.org; Sun, 10 Oct 2010 05:06:13 -0400 Received: by pxi6 with SMTP id 6so1048891pxi.0 for <bug-coreutils <at> gnu.org>; Sun, 10 Oct 2010 02:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=+aVqiWeeXkN/a/45FeRuLzIipi3/jR454amVjdBZU2Y=; b=RlcYI/07s71ZE8GXcD/2BJLPCrlABjSKpaCf5FIvewjDnI+7uIpP+fA/06KxNAy/8L uHpPy2ijmXaHs8Nca/haQUfhp2oXjKXDV9TPgw0oPvJlTQcePsyLjbFv34CFoSbFbe3+ pAtCtqllVDi+Ipm6Iu7XDsA+YyclZf05o9z5E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=ApMVl6qnh+FZBMTF6s+9vClOmGHa/qm2eXa16QQ71MVezhZoKm+0DLzQJPvXMByGeT aftpz7OoqDh4y+TvOiPKH2l8xW5Q0OtxvK5x9UMW6odoMje1P5LWtGkKRvnlWXSQ48Sh PU6ZIbP87pTDS9xa3mKjkm0A1Eo+oz+U0dp8k= Received: by 10.114.73.14 with SMTP id v14mr5465371waa.39.1286701572092; Sun, 10 Oct 2010 02:06:12 -0700 (PDT) Received: from [192.168.1.69] (76-220-42-177.lightspeed.sntcca.sbcglobal.net [76.220.42.177]) by mx.google.com with ESMTPS id q29sm7578697waj.18.2010.10.10.02.06.09 (version=SSLv3 cipher=RC4-MD5); Sun, 10 Oct 2010 02:06:10 -0700 (PDT) Message-ID: <4CB181FC.4040709 <at> gmail.com> Date: Sun, 10 Oct 2010 02:06:04 -0700 From: Steven Lee <stlee987 <at> gmail.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.12) Gecko/20100914 Thunderbird/3.0.8 MIME-Version: 1.0 To: bug-coreutils <at> gnu.org Subject: Problems with timestamp on FAT32 directories Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 10 Oct 2010 08:59:11 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -5.2 (-----) Hello, On an IOMega 500 GB Home Network Hard Drive with a FAT32 partition, all of the directories are showing up as "1969-12-31 16:00" (or essentially no date), but when viewing the directory in Windows Explorer, there is no problem. It doesn't matter if I use 'mkdir' to create a directory or create the directory from Windows; the result is the same. Files are okay. NTFS partitions are okay. I have not seen this issue reported when searching the Internet. I've using latest Cygwin 1.7.7 release. Here's a log of what I've done. $ mkdir tmp $ ls -ld tmp drwxr-xr-x 1 Steven None 0 1969-12-31 16:00 tmp $ touch test.txt $ ls -l test.txt -rw-r--r-- 1 Steven None 0 2010-10-10 00:50 test.txt $ which ls /usr/bin/ls $ ls -l /usr/bin/ls -rwxr-xr-x 1 Steven root 128526 2010-06-25 07:42 /usr/bin/ls Any idea what could be wrong? -Steven
Steven Lee <stlee987 <at> gmail.com>:bug-coreutils <at> gnu.org.
Full text available.owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:bug#7184; Package coreutils.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.