From unknown Thu Jun 19 14:05:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7612: cp -pu NTFS problem Resent-From: Garry Trethewey Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Sat, 11 Dec 2010 00:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7612 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: ntfs-3g-devel@lists.sf.net, 7612@debbugs.gnu.org X-Debbugs-Original-To: ntfs-3g-devel@lists.sf.net, bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.129202707725495 (code B ref -1); Sat, 11 Dec 2010 00:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Dec 2010 00:24:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PRDGO-0006d9-Io for submit@debbugs.gnu.org; Fri, 10 Dec 2010 19:24:37 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PRDFl-0006bp-8A for submit@debbugs.gnu.org; Fri, 10 Dec 2010 19:23:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PRDLb-00005c-MZ for submit@debbugs.gnu.org; Fri, 10 Dec 2010 19:30:01 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RFC_ABUSE_POST, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:39278) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PRDLb-00005Y-It for submit@debbugs.gnu.org; Fri, 10 Dec 2010 19:29:59 -0500 Received: from [140.186.70.92] (port=44654 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRDLZ-0003lb-Vb for bug-coreutils@gnu.org; Fri, 10 Dec 2010 19:29:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PRDLY-0008TS-8M for bug-coreutils@gnu.org; Fri, 10 Dec 2010 19:29:57 -0500 Received: from nskntmtas02p.mx.bigpond.com ([61.9.168.140]:51959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PRDLX-0008TC-KU for bug-coreutils@gnu.org; Fri, 10 Dec 2010 19:29:56 -0500 Received: from nskntotgx01p.mx.bigpond.com ([124.182.156.73]) by nskntmtas02p.mx.bigpond.com with ESMTP id <20101211002950.UJJI3622.nskntmtas02p.mx.bigpond.com@nskntotgx01p.mx.bigpond.com>; Sat, 11 Dec 2010 00:29:50 +0000 Received: from [10.0.0.1] (really [124.182.156.73]) by nskntotgx01p.mx.bigpond.com with ESMTP id <20101211002947.OMRD25056.nskntotgx01p.mx.bigpond.com@[10.0.0.1]>; Sat, 11 Dec 2010 00:29:47 +0000 Message-ID: <4D02C5F2.7050004@bigpond.com> Date: Sat, 11 Dec 2010 10:59:38 +1030 From: Garry Trethewey User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060900080708050300070503" X-Authentication-Info: Submitted using SMTP AUTH PLAIN at nskntotgx01p.mx.bigpond.com from [124.182.156.73] using ID garrytre at Sat, 11 Dec 2010 00:29:46 +0000 X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150204.4D02C5FD.00D5,ss=1,fgs=0 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 (newer, 2) X-Spam-Score: -5.9 (-----) X-Mailman-Approved-At: Fri, 10 Dec 2010 19:24:34 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) This is a multi-part message in MIME format. --------------060900080708050300070503 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello The attachment has this same text but might be easier to read than an email. I don't know if this is a NTFS-3g bug, or a coreutils cp bug, or neither, or both. I've asked the list, which hasn't been able to help apart from confirming that someone else has the same problem. Problem Trying to cp -pu from an NTFS partition to an ext3 partition, the timestamps look OK, both with terminal ls -l and in nautilus (Date Modified and Date Accessed). The -u option says that the same file should not get copied again unless it's changed. But it does get copied again, and again Just to remind, -p same as --preserve=mode,ownership,timestamps -u, --update copy only when the SOURCE file is newer than the destination file or when the destination file is missing So here's the longer version with too many details. For a couple of years I've been doing cp -puv -t $dest $source from one ext3 partition to another, no problem. But now I've copied my whole data disk to an NTFS partition on a USB portable hard drive. NTFS so I can use it at work. I want to copy files from this NTFS partition to an ext3 destination with timestamps intact, so that next week when I do the same thing, I only copy new or changed files. Demo* code is source=/media/data/aaa_S500_data/* # the NTFS partition dest='/home/garry/Desktop/junk' # a ext3 partition cp -puv -t $dest $source Demo* Really I look at 30GB and 20,000 files, that's why I don't want to be copying the same thing repeatedly. Here is a demo source directory garry@S500-lucid:~$ ls -l /media/data/aaa_S500_data/ total 64 -rwxrwxrwx 1 garry garry 38254 2010-12-02 06:20 elephantGreen.ico -rwxrwxrwx 1 garry garry 5978 2010-10-25 17:27 elephant.ico -rwxrwxrwx 1 garry garry 69 2010-11-30 05:55 readme.txt -rwxrwxrwx 1 garry garry 766 2002-10-14 04:27 wdlogo.ico -rwxrwxrwx 1 garry garry 5978 2010-10-25 17:27 wooly-mammoth.ico garry@S500-lucid:~$ So into an empty directory, '/home/garry/Desktop/junk' I copy garry@S500-lucid:~$ cp -puv -t '/home/garry/Desktop/junk' /media/data/aaa_S500_data/* `/media/data/aaa_S500_data/elephantGreen.ico' -> `/home/garry/Desktop/junk/elephantGreen.ico' `/media/data/aaa_S500_data/elephant.ico' -> `/home/garry/Desktop/junk/elephant.ico' `/media/data/aaa_S500_data/readme.txt' -> `/home/garry/Desktop/junk/readme.txt' `/media/data/aaa_S500_data/wdlogo.ico' -> `/home/garry/Desktop/junk/wdlogo.ico' `/media/data/aaa_S500_data/wooly-mammoth.ico' -> `/home/garry/Desktop/junk/wooly-mammoth.ico' garry@S500-lucid:~$ Then without changing any files in $source, and if I do cp -puv -t '/home/garry/Desktop/junk' /media/data/aaa_S500_data/* again, nothing should be copied. But the two files that were created / altered on the NTFS partition _AFTER_ it got created with gparted & partimage get copied again. garry@S500-lucid:~$ cp -puv -t '/home/garry/Desktop/junk' /media/data/aaa_S500_data/* `/media/data/aaa_S500_data/elephantGreen.ico' -> `/home/garry/Desktop/junk/elephantGreen.ico' `/media/data/aaa_S500_data/readme.txt' -> `/home/garry/Desktop/junk/readme.txt' garry@S500-lucid:~$ and again garry@S500-lucid:~$ cp -puv -t $dest $source `/media/data/aaa_S500_data/elephantGreen.ico' -> `/home/garry/Desktop/junk/elephantGreen.ico' `/media/data/aaa_S500_data/readme.txt' -> `/home/garry/Desktop/junk/readme.txt' here is my /etc/fstab proc /proc proc nodev,noexec,nosuid 0 0 UUID=a49e1eb6-72bc-465d-9852-ce99403d303f / ext3 errors=remount-ro 0 1 UUID=f13a83d6-fdfd-4dc7-b67c-a3d47c9fd727 none swap sw 0 0 UUID=07B3B28C580F4BEA /media/data ntfs-3g defaults,umask=000,uid=1000,gid=1000 0 1 #UUID=07B3B28C580F4BEA /media/data ntfs-3g defaults,relatime,umask=000,uid=1000,gid=1000 0 1 #UUID=07B3B28C580F4BEA /media/data ntfs defaults 0 1 UUID=c1841d07-7991-4e9c-8d35-969cb49ccf28 /media/toybox_data ext3 defaults 0 2 I tried touch --reference '/media/data/aaa_S500_data/newfile' '/home/garry/Desktop/junk/newfile' but that made no difference. What I'm using:- ubuntu 10.04 ntfs-3g 2010.3.6 #came with ubuntu ntfs-3g 2010.10.2 #installed today GNU Bash-4.1 cp in GNU coreutils 7.4 So is this a proper bug that I should put on launchpad? Looks like it to me, but I'm amazed if nobody else found it first. regards ------------------------------------ Garry Trethewey ------------------------------------ --------------060900080708050300070503 Content-Type: text/plain; name="prettier.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="prettier.txt" Hello The attachment has this same text but might be easier to read than an email. I don't know if this is a NTFS-3g bug, or a coreutils cp bug, or neither, or both. I've asked the list, which hasn't been able to help apart from confirming that someone else has the same problem. Problem Trying to cp -pu from an NTFS partition to an ext3 partition, the timestamps look OK, both with terminal ls -l and in nautilus (Date Modified and Date Accessed). The -u option says that the same file should not get copied again unless it's changed. But it does get copied again, and again Just to remind, -p same as --preserve=mode,ownership,timestamps -u, --update copy only when the SOURCE file is newer than the destination file or when the destination file is missing So here's the longer version with too many details. For a couple of years I've been doing cp -puv -t $dest $source from one ext3 partition to another, no problem. But now I've copied my whole data disk to an NTFS partition on a USB portable hard drive. NTFS so I can use it at work. I want to copy files from this NTFS partition to an ext3 destination with timestamps intact, so that next week when I do the same thing, I only copy new or changed files. Demo* code is source=/media/data/aaa_S500_data/* # the NTFS partition dest='/home/garry/Desktop/junk' # a ext3 partition cp -puv -t $dest $source Demo* Really I look at 30GB and 20,000 files, that's why I don't want to be copying the same thing repeatedly. Here is a demo source directory garry@S500-lucid:~$ ls -l /media/data/aaa_S500_data/ total 64 -rwxrwxrwx 1 garry garry 38254 2010-12-02 06:20 elephantGreen.ico -rwxrwxrwx 1 garry garry 5978 2010-10-25 17:27 elephant.ico -rwxrwxrwx 1 garry garry 69 2010-11-30 05:55 readme.txt -rwxrwxrwx 1 garry garry 766 2002-10-14 04:27 wdlogo.ico -rwxrwxrwx 1 garry garry 5978 2010-10-25 17:27 wooly-mammoth.ico garry@S500-lucid:~$ So into an empty directory, '/home/garry/Desktop/junk' I copy garry@S500-lucid:~$ cp -puv -t '/home/garry/Desktop/junk' /media/data/aaa_S500_data/* `/media/data/aaa_S500_data/elephantGreen.ico' -> `/home/garry/Desktop/junk/elephantGreen.ico' `/media/data/aaa_S500_data/elephant.ico' -> `/home/garry/Desktop/junk/elephant.ico' `/media/data/aaa_S500_data/readme.txt' -> `/home/garry/Desktop/junk/readme.txt' `/media/data/aaa_S500_data/wdlogo.ico' -> `/home/garry/Desktop/junk/wdlogo.ico' `/media/data/aaa_S500_data/wooly-mammoth.ico' -> `/home/garry/Desktop/junk/wooly-mammoth.ico' garry@S500-lucid:~$ Then without changing any files in $source, and if I do cp -puv -t '/home/garry/Desktop/junk' /media/data/aaa_S500_data/* again, nothing should be copied. But the two files that were created / altered on the NTFS partition _AFTER_ it got created with gparted & partimage get copied again. garry@S500-lucid:~$ cp -puv -t '/home/garry/Desktop/junk' /media/data/aaa_S500_data/* `/media/data/aaa_S500_data/elephantGreen.ico' -> `/home/garry/Desktop/junk/elephantGreen.ico' `/media/data/aaa_S500_data/readme.txt' -> `/home/garry/Desktop/junk/readme.txt' garry@S500-lucid:~$ and again garry@S500-lucid:~$ cp -puv -t $dest $source `/media/data/aaa_S500_data/elephantGreen.ico' -> `/home/garry/Desktop/junk/elephantGreen.ico' `/media/data/aaa_S500_data/readme.txt' -> `/home/garry/Desktop/junk/readme.txt' here is my /etc/fstab proc /proc proc nodev,noexec,nosuid 0 0 UUID=a49e1eb6-72bc-465d-9852-ce99403d303f / ext3 errors=remount-ro 0 1 UUID=f13a83d6-fdfd-4dc7-b67c-a3d47c9fd727 none swap sw 0 0 UUID=07B3B28C580F4BEA /media/data ntfs-3g defaults,umask=000,uid=1000,gid=1000 0 1 #UUID=07B3B28C580F4BEA /media/data ntfs-3g defaults,relatime,umask=000,uid=1000,gid=1000 0 1 #UUID=07B3B28C580F4BEA /media/data ntfs defaults 0 1 UUID=c1841d07-7991-4e9c-8d35-969cb49ccf28 /media/toybox_data ext3 defaults 0 2 I tried touch --reference '/media/data/aaa_S500_data/newfile' '/home/garry/Desktop/junk/newfile' but that made no difference. What I'm using:- ubuntu 10.04 ntfs-3g 2010.3.6 #came with ubuntu ntfs-3g 2010.10.2 #installed today GNU Bash-4.1 cp in GNU coreutils 7.4 So is this a proper bug that I should put on launchpad? Looks like it to me, but I'm amazed if nobody else found it first. regards ------------------------------------ Garry Trethewey ------------------------------------ --------------060900080708050300070503-- From unknown Thu Jun 19 14:05:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7612: cp -pu NTFS problem Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Sat, 11 Dec 2010 05:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7612 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Garry Trethewey Cc: 7612@debbugs.gnu.org, ntfs-3g-devel@lists.sf.net Received: via spool by 7612-submit@debbugs.gnu.org id=B7612.129204449917424 (code B ref 7612); Sat, 11 Dec 2010 05:15:03 +0000 Received: (at 7612) by debbugs.gnu.org; 11 Dec 2010 05:14:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PRHnP-0004Wz-6o for submit@debbugs.gnu.org; Sat, 11 Dec 2010 00:14:59 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PRHnM-0004Wh-3W for 7612@debbugs.gnu.org; Sat, 11 Dec 2010 00:14:57 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id EF6A939E80F8; Fri, 10 Dec 2010 21:20:58 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TM7AkPAD6nEg; Fri, 10 Dec 2010 21:20:57 -0800 (PST) Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id B516639E80DB; Fri, 10 Dec 2010 21:20:57 -0800 (PST) Message-ID: <4D030A39.2060003@cs.ucla.edu> Date: Fri, 10 Dec 2010 21:20:57 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 References: <4D02C5F2.7050004@bigpond.com> In-Reply-To: <4D02C5F2.7050004@bigpond.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) That looks like bug 7529 (aka bug 605639). Please try this patch: http://lists.gnu.org/archive/html/bug-coreutils/2010-12/msg00012.html From unknown Thu Jun 19 14:05:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7612: cp -pu NTFS problem Resent-From: Garry Trethewey Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Sat, 11 Dec 2010 05:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7612 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Paul Eggert Cc: 7612@debbugs.gnu.org, ntfs-3g-devel@lists.sf.net Received: via spool by 7612-submit@debbugs.gnu.org id=B7612.129204576619274 (code B ref 7612); Sat, 11 Dec 2010 05:37:01 +0000 Received: (at 7612) by debbugs.gnu.org; 11 Dec 2010 05:36:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PRI7q-00050p-HR for submit@debbugs.gnu.org; Sat, 11 Dec 2010 00:36:06 -0500 Received: from nschwmtas04p.mx.bigpond.com ([61.9.189.146]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PRI7n-00050K-GA for 7612@debbugs.gnu.org; Sat, 11 Dec 2010 00:36:05 -0500 Received: from nschwotgx04p.mx.bigpond.com ([124.182.156.73]) by nschwmtas04p.mx.bigpond.com with ESMTP id <20101211054205.NULL24340.nschwmtas04p.mx.bigpond.com@nschwotgx04p.mx.bigpond.com>; Sat, 11 Dec 2010 05:42:05 +0000 Received: from [10.0.0.1] (really [124.182.156.73]) by nschwotgx04p.mx.bigpond.com with ESMTP id <20101211054204.ANO781.nschwotgx04p.mx.bigpond.com@[10.0.0.1]>; Sat, 11 Dec 2010 05:42:04 +0000 Message-ID: <4D030F26.9000804@bigpond.com> Date: Sat, 11 Dec 2010 16:11:58 +1030 From: Garry Trethewey User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 References: <4D02C5F2.7050004@bigpond.com> <4D030A39.2060003@cs.ucla.edu> In-Reply-To: <4D030A39.2060003@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH PLAIN at nschwotgx04p.mx.bigpond.com from [124.182.156.73] using ID garrytre at Sat, 11 Dec 2010 05:42:03 +0000 X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150204.4D030F2C.00F9,ss=1,fgs=0 X-Spam-Score: -4.3 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) On 11/12/10 15:50, Paul Eggert wrote: > That looks like bug 7529 (aka bug 605639). > Please try this patch: > > http://lists.gnu.org/archive/html/bug-coreutils/2010-12/msg00012.html > Thanks 1) I can see the difference - for (a /= res; a % 10 != 0; a /= 10) + for (a /= res; a % 10 == 0; a /= 10) but I'm just not that clever to apply a patch. 2) I touch'ed a dest file so it's got tomorrow's date, and cp -p still copies to it, although not updating (downdating?) it's timestamp. 3) I also put the story on http://tuxera.com/forum/ as szaka@tuxera.com asked, so I spose ntfs-3g-devel@lists.sf.net is not now the place to look. Must admit I haven't done all this before, so I don't want to put something stupid all over the world. regards ------------------------------------ Garry Trethewey ------------------------------------ From unknown Thu Jun 19 14:05:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7612: cp -pu NTFS problem Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Sat, 11 Dec 2010 07:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7612 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Garry Trethewey Cc: 7612@debbugs.gnu.org, ntfs-3g-devel@lists.sf.net Received: via spool by 7612-submit@debbugs.gnu.org id=B7612.129205402530425 (code B ref 7612); Sat, 11 Dec 2010 07:54:02 +0000 Received: (at 7612) by debbugs.gnu.org; 11 Dec 2010 07:53:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PRKH3-0007ug-AY for submit@debbugs.gnu.org; Sat, 11 Dec 2010 02:53:45 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PRKH0-0007uT-H5 for 7612@debbugs.gnu.org; Sat, 11 Dec 2010 02:53:43 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 9CF3D39E8109; Fri, 10 Dec 2010 23:59:46 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FxQkgz94BCvW; Fri, 10 Dec 2010 23:59:46 -0800 (PST) Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 33F2C39E80F7; Fri, 10 Dec 2010 23:59:46 -0800 (PST) Message-ID: <4D032F71.4090101@cs.ucla.edu> Date: Fri, 10 Dec 2010 23:59:45 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 References: <4D02C5F2.7050004@bigpond.com> <4D030A39.2060003@cs.ucla.edu> <4D030F26.9000804@bigpond.com> In-Reply-To: <4D030F26.9000804@bigpond.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) On 12/10/2010 09:41 PM, Garry Trethewey wrote: > 1) I can see the difference > - for (a /= res; a % 10 != 0; a /= 10) > + for (a /= res; a % 10 == 0; a /= 10) > but I'm just not that clever to apply a patch. If you've built the software, then find the line that looks like the "-" line, and change it so that it looks like a "+" line. Then type "make". (If all this is beyond you, then don't worry too much; the bug will be fixed in the next version of coreutils.) > 2) I touch'ed a dest file so it's got tomorrow's date, > and cp -p still copies to it, although not updating (downdating?) it's timestamp. That sounds very much like a bug, perhaps a different bug, though I'm afraid I can't reproduce it since I don't have your system. From unknown Thu Jun 19 14:05:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7612: cp -pu NTFS problem Resent-From: Jim Meyering Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Sun, 13 Nov 2011 12:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7612 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Paul Eggert Cc: 7612@debbugs.gnu.org, Garry Trethewey , ntfs-3g-devel@lists.sf.net Received: via spool by 7612-submit@debbugs.gnu.org id=B7612.132118577918862 (code B ref 7612); Sun, 13 Nov 2011 12:03:01 +0000 Received: (at 7612) by debbugs.gnu.org; 13 Nov 2011 12:02:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RPYm0-0004u6-0Z for submit@debbugs.gnu.org; Sun, 13 Nov 2011 07:02:57 -0500 Received: from mx.meyering.net ([88.168.87.75]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RPYly-0004tw-7y; Sun, 13 Nov 2011 07:02:54 -0500 Received: from rho.meyering.net (localhost.localdomain [127.0.0.1]) by rho.meyering.net (Acme Bit-Twister) with ESMTP id E09176006A; Sun, 13 Nov 2011 13:02:25 +0100 (CET) From: Jim Meyering In-Reply-To: <4D032F71.4090101@cs.ucla.edu> (Paul Eggert's message of "Fri, 10 Dec 2010 23:59:45 -0800") References: <4D02C5F2.7050004@bigpond.com> <4D030A39.2060003@cs.ucla.edu> <4D030F26.9000804@bigpond.com> <4D032F71.4090101@cs.ucla.edu> Date: Sun, 13 Nov 2011 13:02:25 +0100 Message-ID: <87pqgwmdri.fsf@rho.meyering.net> Lines: 19 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) forcemerge 7612 7613 close 7612 thanks Paul Eggert wrote: > On 12/10/2010 09:41 PM, Garry Trethewey wrote: > >> 1) I can see the difference >> - for (a /= res; a % 10 != 0; a /= 10) >> + for (a /= res; a % 10 == 0; a /= 10) >> but I'm just not that clever to apply a patch. > > If you've built the software, then > find the line that looks like the "-" line, and change it > so that it looks like a "+" line. Then type "make". > (If all this is beyond you, then don't worry too much; the bug > will be fixed in the next version of coreutils.) This was resolved last year, so closing.