Hi Michael, It does not seem to make a difference: 16:44:17.891328 tramp-sh-handle-file-local-copy (3) # Encoding remote file ‘/plink:[email protected]:/home/docs/didierf/Projects/akamai-netstorage-keys/README.md’ with ‘base64 <%s’...done 16:44:17.892328 tramp-sh-handle-file-local-copy (3) # Decoding local file ‘c:/Users/fortdg/AppData/Roaming/.emacs.d/tmp/tramp.87836Uvp.md’ with ‘base64-decode-region’... 16:44:17.903329 tramp-sh-handle-file-local-copy (3) # Decoding local file ‘c:/Users/fortdg/AppData/Roaming/.emacs.d/tmp/tramp.87836Uvp.md’ with ‘base64-decode-region’...done 16:44:17.904329 tramp-call-process (6) # ‘chown 210247:513 c\:/Users/fortdg/AppData/Roaming/.emacs.d/tmp/tramp.87836Uvp.md’ nil nil 16:45:06.343173 tramp-call-process (6) # 1 /usr/bin/chown: cannot access 'c\:/Users/fortdg/AppData/Roaming/.emacs.d/tmp/tramp.87836Uvp.md': No such file or directory 16:45:06.349173 tramp-handle-insert-file-contents (3) # Inserting ‘/plink:[email protected]: /home/docs/didierf/Projects/akamai-netstorage-keys/README.md’...done 16:45:06.350173 tramp-send-command (6) # test -e /home/docs/didierf/Projects/akamai-netstorage-keys/README.md 2>/dev/null; echo tramp_exit_status $?
Regards, Didier On Wed, May 24, 2017 at 3:09 PM, Michael Albinus <[email protected]> wrote: > 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. > -- -- [email protected]
_______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
