Didier Fort <[email protected]> writes:
> Hi Michael,
Hi Didier,
> I attached the traces (verbose = 10) to the original email as a txt
> file, but here they are again.
Sorry, I have overlooked this in your first message.
> Look for 'chown'.
>
> 16:11:30.351299 tramp-call-process (6) # ‘chown 210247:513
> c\:/Users/fortdg/AppData/Roaming/.emacs.d/tmp/tramp.253208vJ’ nil nil
> 16:12:16.563911 tramp-call-process (6) # 1
> /usr/bin/chown: cannot access
> 'c\:/Users/fortdg/AppData/Roaming/.emacs.d/tmp/tramp.253208vJ': No such file
> or directory
This is strange indeed. Tramp has applied UNIX-style shell quoting to
the file (see c\:/Users...). It shouldn't.
Could you, please, try the following patch:
--8<---------------cut here---------------start------------->8---
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index 22b65a7e16..f536a6ff73 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -1550,7 +1550,7 @@ tramp-sh-handle-set-file-times
(tramp-call-process
nil "touch" nil nil nil "-t"
(format-time-string "%Y%m%d%H%M.%S" time)
- (tramp-shell-quote-argument filename)))))
+ (shell-quote-argument filename)))))
(defun tramp-set-file-uid-gid (filename &optional uid gid)
"Set the ownership for FILENAME.
--8<---------------cut here---------------end--------------->8---
> Regards,
> Didier
Best regards, Michael.
_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel