From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#56494: 29.0.50; Tramp: No such file ' Buongiorno A Te ' - ( Luciano Pavarotti )-Aa-NLjOsLIE.mp4 Date: Tue, 12 Jul 2022 16:48:36 +0200 Message-ID: <87bktu8jzv.fsf@gmx.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34388"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 56494@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 12 16:51:08 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oBHEC-0008kY-Ci for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jul 2022 16:51:08 +0200 Original-Received: from localhost ([::1]:46988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBHEB-0006Zl-8j for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jul 2022 10:51:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBHDH-0006YV-7E for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2022 10:50:11 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49533) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBHD9-0006QK-7u for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2022 10:50:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBHD9-00034v-5S for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2022 10:50:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jul 2022 14:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 56494-submit@debbugs.gnu.org id=B56494.165763735811750 (code B ref 56494); Tue, 12 Jul 2022 14:50:03 +0000 Original-Received: (at 56494) by debbugs.gnu.org; 12 Jul 2022 14:49:18 +0000 Original-Received: from localhost ([127.0.0.1]:43426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBHCP-00033S-O7 for submit@debbugs.gnu.org; Tue, 12 Jul 2022 10:49:17 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:42437) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBHCN-00033A-2E for 56494@debbugs.gnu.org; Tue, 12 Jul 2022 10:49:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1657637317; bh=510aN2osIosgy2ylj04mLisN3TGeuAsiolnnQmobkQM=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=l4o6CYjCiN+HSJ6NMdx//kHPFCQbdPT8QrR/K65vfSw1Q9H6Af3ot7qxyGVNbSb5S HJaVNCE2XzU+pF07+hhTa5XQkwRGNMcJ8t94K7cw82k7r+qTt+JhL4sr7BE7ayDk0/ x5RBvHmNWs3qJdMe0GMo5GkOO0pRTC6CPRR4UD3o= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.149.135]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mn2WF-1njxGE1jKZ-00k8XI; Tue, 12 Jul 2022 16:48:37 +0200 In-Reply-To: (Jean Louis's message of "Mon, 11 Jul 2022 11:03:12 +0300") X-Provags-ID: V03:K1:4FZwoAIiueistTi0GNs2lEIDQefoiwBZWkknL9wBseiZcw6ePme FWrX/weGo1VrwvjzVIkSh4hwooVL3F1WYCw3SUMcAcAUyhTc46XGklwdgwmIh4dcJctGSZh zMQOWs9WWK+KHLom2HJSqgmo5mjrAgilUPSPMOCzwpTZV6mkl4LMrPKRtVdoAMEvn7FaMBU kRIPSmbaxlCl/GvAFJGEQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:+oQC58ygznk=:e0mnS5tbi22fbOgc928cOe M+Rk+uv5JRpyIllzye5pIftYgSCy8RdtLzXnaQrEHc7B9M1wSGCPO1wKDK6HdhNl7Cut4CFQN susipL3MCnTD+p3tuG/rvqpJo8KxRCaF4gu9dQVGRAQw2RYGHbSt0auSac7/87Tl3y2Y8TTE2 bttPZ73NXTwSGEK522Zu4TN5HlW+JwC4PpqNUrP6vwnVVy5rua7w6rpf/sb2k5SZs2U+Q4z/T Vc7AueFMK0OnZR5B+IReJmnAautXVJSfwujsgJePCmXJDwhQlnMh5/dFxkrAkCIRG3Gvdk5Lr FsYm9L2eZyHF+9Llmyv6axxqLQs7vi+8emLyD9IanDUJYLCLwZxCSNBwIzN43/SVQoXgfSQMz 5minBWgKVRTtEh551zVt2Iad0bRe2JjI9UzB0CTDpSFPAEndjyPXIciHwQqS05pOZ7YWRJ5HX HQPRmleqU/pqP5bCN8IA4B27G88P+UxBKKdzHDn7htFEbltADBvCT8MNSYRC7VUXMPYNCFkfq YMinjvoxy5skHkYteKIs2Ne//CxqSrKIu39rgH6VH8RHs0YFv6B8H5uuW9wCA6Szzxu4DdabC +dPQ9JXxlbQEJi6MtvsSvZX+Do6N4EHOLwG/xGzJPMGejEwbcR9qDIYB8kNzwr69zrTEse3xD X3CcUR8L7MAVSbgAPhaYD+efx3w5pLB//IPIPdHhFEf82qyzPmY7FAbwCxs0UHVV7mXoBVHBN xxJ3+ae51gPfHCH4qael/Ymh1QmSATGbQw8iwibkps21hsqOlcDnF8m/lvc3OfrcqqmfFHGC X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:236807 Archived-At: Jean Louis writes: Hi Jean, > I cannot execute !rm on this file: > > (dired-get-filename) =E2=87=92 "/scp:motorolausb:/storage/emulated/0/Down= load/' Buongiorno A Te ' - ( Luciano Pavarotti )-Aa-NLjOsLIE.mp4" > > Error is: > rm: cannot remove '/scp:motorolausb:/storage/emulated/0/Download/'\'' > Buongiorno A Te '\'' - ( Luciano Pavarotti )-Aa-NLjOsLIE.mp4': No > such file or directory [2 times] > > But file is for sure there: > > It is displayed with -al switches as following: > > /scp:motorolausb:/storage/emulated/0/Download: > -rw-rw---- 1 root everybody 22897869 May 20 17:29 ' Buongiorno A Te ' = - ( Luciano Pavarotti )-Aa-NLjOsLIE.mp4 > drwxrwx--- 2 root everybody 4096 Jul 11 10:50 . > drwxrwx--- 23 root everybody 4096 Jul 8 11:47 .. How do you have called !rm? Via "! rm RET" in dired? This shall work. Note, that (dired-get-filename) returns the full remote file name, which cannot be given to any remote process as argument. If you want to use this programmatically, you must call (file-local-name (dired-get-filename)) Best regards, Michael.