Commit e89cd3e6 authored by Lars Hansen's avatar Lars Hansen
Browse files

(tramp-action-out-of-band): Handle scp message "Permission denied".

parent b5714852
2005-11-02 Lars Hansen <larsh@soem.dk>
* net/tramp.el (tramp-action-out-of-band): Handle scp message
"Permission denied".
2005-11-01 Richard M. Stallman <rms@gnu.org>
 
* textmodes/flyspell.el (flyspell-external-point-words):
......
......@@ -5361,6 +5361,9 @@ The terminal type can be configured with `tramp-terminal-type'."
(tramp-message 10 "'set mode' error ignored.")
(tramp-message 9 "Process has finished.")
(throw 'tramp-action 'ok))
(goto-char (point-min))
(when (re-search-forward "^.cp.?: \\(.+: Permission denied.?\\)$" nil t)
(error "Remote host: %s" (match-string 1)))
(tramp-message 9 "Process has died.")
(throw 'tramp-action 'process-died)))
(t nil)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment