GNU bug report logs - #56494
29.0.50; Tramp: No such file ' Buongiorno A Te ' - ( Luciano Pavarotti )-Aa-NLjOsLIE.mp4

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Mon, 11 Jul 2022 08:05:02 UTC

Severity: normal

Tags: moreinfo, notabug

Found in version 29.0.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Jean Louis <bugs <at> gnu.support>
Cc: 56494 <at> debbugs.gnu.org
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
Jean Louis <bugs <at> gnu.support> writes:

Hi Jean,

> I cannot execute !rm on this file:
>
> (dired-get-filename) ⇒ "/scp:motorolausb:/storage/emulated/0/Download/' 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.




This bug report was last modified 2 years and 360 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.