Magnus Henoch <[EMAIL PROTECTED]> 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.


_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://lists.nongnu.org/mailman/listinfo/tramp-devel

Reply via email to