emacs-rcp  

Re: tramp ($Id: tramp.el,v 2.29 2001/06/03 18:41:26 grossjoh Exp$); Cannot save remote file

Kai Großjohann
Tue, 10 Jul 2001 08:21:21 -0700

On 10 Jul 2001, [EMAIL PROTECTED] wrote:

> Using tramp, I am trying to access a remote file to change it. The
> file is specified by:
> 
>         /r@su:sevilla:/etc/rc.d/rc.local
> 
> I can edit the file normally; but when I try to save it, I get the
> following:
> 
>         apply: Copying directly failed, see buffer `rc.local' for
>         details.
> 
> When trying to auto-save, it returns the following:
> 
>         Auto-saving rc.local: Couldn't write region to 
>`/r@su:sevilla:[EMAIL PROTECTED]', decode using `( 
>uudecode -o - 2>/dev/null || uudecode -p 2>/dev/null )' failed

This is indeed a pretty cryptic message.  Whee.  But what is in the
buffer that pops up when the error occurs?  Is that more informative?

> $ EOF
> # Waiting for remote host to process data...
> sh: [EMAIL PROTECTED]: Permission denied
> $ echo tramp_exit_status $? 
> tramp_exit_status 1
> $ rm -f /etc/rc.d/_ar\@su_bsevilla_b_aetc_arc.d_arc.local 2>/dev/null; echo 
>tramp_exit_status $? 
> tramp_exit_status 0

`Permission denied'.  Pretty clear, I'd say.

kai
-- 
~/.signature: No such file or directory