tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp (2.0.39); Can't copy files with spaces in name


From: Michael Albinus
Subject: Re: tramp (2.0.39); Can't copy files with spaces in name
Date: Fri, 06 Aug 2004 22:20:23 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Magnus Henoch <address@hidden> writes:

> When trying to copy a file with spaces in the name, I get the
> following error message:
>
> Copy [-p] `/ssh:minus:/home/magnus/test file' to `/tmp/test file' failed:
> (file-error Opening input file permission denied /tmp/tramp.5841AJ3)

Fixed in Tramp CVS. If you don't want to wait for the next Tramp
release, you can apply the following patch:

--- tramp.el.~2.359.2.11.~      2004-08-05 21:51:40.000000000 +0200
+++ tramp.el    2004-08-06 22:09:23.000000000 +0200
@@ -5852,7 +5852,8 @@
         multi-method method user host
         (concat "tramp_file_attributes () {\n"
                 tramp-remote-perl
-                " -e '" tramp-perl-file-attributes "' $1 $2 2>/dev/null\n"
+                " -e '" tramp-perl-file-attributes "'"
+                " \"$1\" \"$2\" 2>/dev/null\n"
                 "}"))
        (tramp-wait-for-output)
        (unless (tramp-method-out-of-band-p multi-method method user host)

Thanx for reporting, and best regards, Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]