From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 06 16:06:45 2013 Received: (at submit) by debbugs.gnu.org; 6 Mar 2013 21:06:46 +0000 Received: from localhost ([127.0.0.1]:34833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDLXt-0000eP-NZ for submit@debbugs.gnu.org; Wed, 06 Mar 2013 16:06:45 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58254) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDL8D-0008Su-BN for submit@debbugs.gnu.org; Wed, 06 Mar 2013 15:40:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDL7c-0008OQ-8X for submit@debbugs.gnu.org; Wed, 06 Mar 2013 15:39:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:48860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDL7c-0008OM-5f for submit@debbugs.gnu.org; Wed, 06 Mar 2013 15:39:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDL7X-0003MM-GC for bug-coreutils@gnu.org; Wed, 06 Mar 2013 15:39:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDKrk-00038P-3p for bug-coreutils@gnu.org; Wed, 06 Mar 2013 15:24:10 -0500 Received: from mail-oa0-f49.google.com ([209.85.219.49]:61884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDKrj-000386-SS for bug-coreutils@gnu.org; Wed, 06 Mar 2013 15:23:07 -0500 Received: by mail-oa0-f49.google.com with SMTP id j6so13012502oag.22 for ; Wed, 06 Mar 2013 12:23:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:reply-to:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=HYzsDWMOT+45IZDZnM5lSFfsaN0zZ0SU/tLhx78mHn4=; b=lBnnCrJNvyk1D+pCQmjFwbN+cbxcAkaN6lRMb5FjVuyQaya52AfFW9eCMpz0QVceE1 AxjJP6yYGS2n9X93W0LCFx+mDhOLAOoI0Le7O0rkv2wX4QISb7wFUZWLU+ZYiy7W5/Ww Ko30ZWfuPdXBysj/UTvNX/OQ0cR/qmwLNIoIKLZlIwDaF5Mxprv0tUYwhKm3PZwB9m7t 5JRojgg9Mh6wDDRNvWBDf4htLQHVyXC9eaBoHIOMwBq9QILqhhMBP7OKM8RBPlVE2XL4 qn8Evhn9L9S9BN6/A8Mj1PCK36oJIrDsqxteDD2touZNyR5YHGQ66S0YTODC/n05ZfmJ Mohg== X-Received: by 10.60.3.233 with SMTP id f9mr24324105oef.32.1362601386621; Wed, 06 Mar 2013 12:23:06 -0800 (PST) Received: from [64.250.173.177] (bw2pool6-177.maysvilleky.net. [64.250.173.177]) by mx.google.com with ESMTPS id d10sm40170698oeh.7.2013.03.06.12.23.04 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Mar 2013 12:23:05 -0800 (PST) Message-ID: <5137A5B6.1060103@maysvilleky.net> Date: Wed, 06 Mar 2013 15:23:18 -0500 From: "Kevin C. Redden" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: bug-coreutils@gnu.org Subject: bug in CP Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 06 Mar 2013 16:06:40 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: kredden@maysvilleky.net 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: -6.1 (------) Sir: I'm using Debian 6.06/KDE 4.4, and I found either a bug, or else an omission in CP. I tried to copy files from one directory to another with the command kcredden@zeus:/STORE2/TH-zeus/work-desk/WRITNG/WRITING-CURRENT$ cp -R * /media/SNEAKERNET1/ It goes about half-way, then completely aborts with: cp: cannot create directory `/media/SNEAKERNET1/Tools/NEW-FOLDER-FRAMEWORK ': Invalid argument I honestly don't know what's wrong with that directory, but Dolphin cannot copy it as well. I was finally able to copy the files with a SU midnight commander. When MC ttried to copy that file it just asked if I wish to skip it which I did, and MC finished copying the rest of the files. First I'm wondering; is this a bug? If not, is there a way to force CP to copy files without aborting if it runs into a problem? There is a command in Windows called 'Xcopy'. It has a command switch telling it to just skip over bad files, and copy the rest. I cannot recall exactly what the command is, since I've been off windows for quite awhile. But it's something like 'xcopy -c *.* /dir.' (-c for 'continue') If this is a bug, or an omission. Can I request that someone fix cp for either a command switch like Xcopy's, or else at least default to just skip bad files, instead of aborting completely? This abort problem has also plagued both windows and linux file managers for years (except for MC) and it's frankly very annoying. Thanks. - Kc (linux user since Ubuntu 8.04.01) -- Kevin C. Redden -- kcredden@gmail.com https://awanderingminddotme.wordpress.com/ "I am free because I know that I alone am morally responsible for everything I do. I am free, no matter what rules surround me. If I find them tolerable, I tolerate them; if I find them too obnoxious, I break them. I am free because I know that I alone am morally responsible for everything I do." Robert A. Heinlein "Be wary of strong drink. It can make you shoot at tax collectors... and miss." - (personal favorite :) Robert A. Heinlein From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 06 16:58:07 2013 Received: (at 13893) by debbugs.gnu.org; 6 Mar 2013 21:58:07 +0000 Received: from localhost ([127.0.0.1]:34865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDMLe-0001t1-KG for submit@debbugs.gnu.org; Wed, 06 Mar 2013 16:58:06 -0500 Received: from mx1.redhat.com ([209.132.183.28]:59221) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDMLa-0001st-UL for 13893@debbugs.gnu.org; Wed, 06 Mar 2013 16:58:05 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r26LvYSb014889 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 6 Mar 2013 16:57:34 -0500 Received: from [10.3.113.126] (ovpn-113-126.phx2.redhat.com [10.3.113.126]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r26LvXVB013044; Wed, 6 Mar 2013 16:57:33 -0500 Message-ID: <5137BBCC.2000000@redhat.com> Date: Wed, 06 Mar 2013 14:57:32 -0700 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3 MIME-Version: 1.0 To: kredden@maysvilleky.net Subject: Re: bug#13893: bug in CP References: <5137A5B6.1060103@maysvilleky.net> In-Reply-To: <5137A5B6.1060103@maysvilleky.net> X-Enigmail-Version: 1.5.1 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2WIDUPVBGBQMFKRHJEJAW" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: 13893 Cc: "Kevin C. Redden" , 13893@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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: -7.5 (-------) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2WIDUPVBGBQMFKRHJEJAW Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/06/2013 01:23 PM, Kevin C. Redden wrote: > Sir: >=20 > I'm using Debian 6.06/KDE 4.4, and I found either a bug, or else an > omission in CP. >=20 > I tried to copy files from one directory to another with the command >=20 > kcredden@zeus:/STORE2/TH-zeus/work-desk/WRITNG/WRITING-CURRENT$ cp -R *= > /media/SNEAKERNET1/ >=20 > It goes about half-way, then completely aborts with: >=20 > cp: cannot create directory > `/media/SNEAKERNET1/Tools/NEW-FOLDER-FRAMEWORK ': Invalid argument Notice the trailing space. Also, notice that your destination file is mounted under /media, and these days, most /media mounts are to USB flash sticks, which in turn tend to be default-formatted as FAT. The FAT file system is puny - among other things, it doesn't permit trailing spaces in file names. The kernel is telling you that it cannot create the desired filename with a trailing space because of the restrictions of the destination file system. >=20 > I honestly don't know what's wrong with that directory, but Dolphin > cannot copy it as well. I was finally able to copy the files with a SU > midnight commander. When MC ttried to copy that file it just asked if I= > wish to skip it which I did, and MC finished copying the rest of the fi= les. >=20 > First I'm wondering; is this a bug? If not, is there a way to force CP > to copy files without aborting if it runs into a problem? There is a > command in Windows called 'Xcopy'. It has a command switch telling it t= o > just skip over bad files, and copy the rest. I cannot recall exactly > what the command is, since I've been off windows for quite awhile. But > it's something like 'xcopy -c *.* /dir.' (-c for 'continue') This is not a bug, but a limitation of your choice of file systems. Rename the file on the source to something that doesn't violate FAT naming requirements, and then you will be able to copy things. Or reformat your USB stick to use ext4 or other similar more-permissive filesystem (although based on the name of your media, you are planning on sneaker-netting your files to another machine, so pick a filesystem that the destination OS can read). >=20 > If this is a bug, or an omission. Can I request that someone fix cp for= > either a command switch like Xcopy's, or else at least default to just > skip bad files, instead of aborting completely? This abort problem has > also plagued both windows and linux file managers for years (except for= > MC) and it's frankly very annoying. cp should have copied as much as possible, without recursing into the impossible directory name. If you can prove that cp aborted early instead of copying all remaining files, even after failing on that one directory, then we have a bug to fix. But if only that one directory (and all its descendants) were the only things omitted in your recursive copy, then 'cp' did its job as best it could in spite of the kernel restriction against creating impossible files on less-capabilt file syste= ms. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2WIDUPVBGBQMFKRHJEJAW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRN7vMAAoJEKeha0olJ0Nq8KAH+wXhAl26ZEwRZgOlAG6SEugA ZLj7aFyWTcz0ChMmtyZdyPjpPHbFhUMBdnjlbUbipOCS3mc2gbXU0+s/fS2DGFLf JDrOw4wDlBDjenA+SQ7LHxcfZ0FM7dQAtRV7nuO/MwZymA6Rgs/7d+7sY2EjV50N uartKjkop+1Z272qER2bbx57qxbIqMXdo+fxKOFZp8MOamXODzdLdQV8PzkzN5rt HY9Bcf3zUeHKPpk9xsH/7d864cQ3MgDFMpKTtuO4rVvzL82xct7jPWjbOltd6rQe X6lnaGnBt+P05QfpfRC9C9DZ1Ysl6k9X7UeKy9GHdieijLHbhZEn5e7GJUBbjbg= =LU3n -----END PGP SIGNATURE----- ------enig2WIDUPVBGBQMFKRHJEJAW-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 06 20:36:58 2013 Received: (at 13893) by debbugs.gnu.org; 7 Mar 2013 01:36:58 +0000 Received: from localhost ([127.0.0.1]:34980 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDPlS-0006uj-0Q for submit@debbugs.gnu.org; Wed, 06 Mar 2013 20:36:58 -0500 Received: from mx1.redhat.com ([209.132.183.28]:20474) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDPlQ-0006uZ-6M; Wed, 06 Mar 2013 20:36:56 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r271aQF9023130 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 6 Mar 2013 20:36:26 -0500 Received: from [10.36.116.71] (ovpn-116-71.ams2.redhat.com [10.36.116.71]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r271aN9d009514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Mar 2013 20:36:24 -0500 Message-ID: <5137EF17.4080403@draigBrady.com> Date: Thu, 07 Mar 2013 01:36:23 +0000 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Eric Blake Subject: Re: bug#13893: bug in CP References: <5137A5B6.1060103@maysvilleky.net> <5137BBCC.2000000@redhat.com> In-Reply-To: <5137BBCC.2000000@redhat.com> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id r271aQF9023130 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 13893 Cc: "Kevin C. Redden" , kredden@maysvilleky.net, 13893@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.5 (-----) tag 13893 notabug stop I agree with the analysis here. We can open again if necessary. thanks, P=C3=A1draig. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 08 13:21:24 2014 Received: (at 13893-done) by debbugs.gnu.org; 8 Apr 2014 17:21:24 +0000 Received: from localhost ([127.0.0.1]:41139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WXZi7-0001Tm-9O for submit@debbugs.gnu.org; Tue, 08 Apr 2014 13:21:23 -0400 Received: from joseki.proulx.com ([216.17.153.58]:59640) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WXZi3-0001TV-1p for 13893-done@debbugs.gnu.org; Tue, 08 Apr 2014 13:21:21 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id C119B21235; Tue, 8 Apr 2014 11:21:17 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id A0DD32DC9A; Tue, 8 Apr 2014 11:21:17 -0600 (MDT) Date: Tue, 8 Apr 2014 11:21:17 -0600 From: Bob Proulx To: 13893-done@debbugs.gnu.org Subject: Re: bug#13893: bug in CP Message-ID: <20140408172117.GA21659@hysteria.proulx.com> References: <5137A5B6.1060103@maysvilleky.net> <5137BBCC.2000000@redhat.com> <5137EF17.4080403@draigBrady.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5137EF17.4080403@draigBrady.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 13893-done Cc: "Kevin C. Redden" , kredden@maysvilleky.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: 13893@debbugs.gnu.org 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: -0.3 (/) Pádraig Brady wrote: > I agree with the analysis here. > We can open again if necessary. It has been a year and no one has added anything to this bug which seems to have been completely resolved. I am therefore closing it in the bug tracking system. Bob From unknown Sat Aug 09 13:13:45 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 07 May 2014 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator