🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #9725

Editing remote files in (x)emacs

#9725
From: Marielle Fois
Date: Fri, 01 Feb 2002 10:13
39 lines
2352 bytes
Hello,

I am logged in a machine from which I would like to edit some files
stored in another machine. The remote machine is located outside my
local network, and I normally access to it via ssh.

Within (x)emacs I use find-file and type:

  /<username>@<remote-machine>:

When I type Enter I am asked for the password. After I enter the
password an ftp connection is established with the remote machine,
and the username's home directory is listed. I am able to navigate
through the file system, open files and make modifications to these
files (i.e. they are not opened as read only), but when I try to save
these modifications I get a permission denied error. I would like to
know if there is something I can do to open the ftp connection with
the necessary permissions to be allowed to save the modifications I
do in the files I open.

The ftp log looks like this:

  ftp> open <remote-machine>
  Connected to <remote-machine>.
  220 FTP server ready.
  user "<username>" Turtle Power!
  ftp> 331 Password required for <username>.
  230 User <username> logged in.  Access restrictions apply.

I suppose that the ftp flags stated by (x)emacs should be changed so
that I have more access permissions.

Could anybody give me a hint on this?

Please, reply also to my email adress.

Thanks in advance,

Marielle
Technical Details
Message-ID: <Pine.SOL.4.30.0202011054450.26817-100000@my.nada.kth.se>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!news.tele.dk!small.news.tele.dk!129.240.148.23!uio.no!news.kth.se!my.nada.kth.se!im99_foa

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,2e3c38014f1f451,start
X-Google-Attributes: gid103b8b,public
X-Google-Thread: 102b9a,2e3c38014f1f451,start
X-Google-Attributes: gid102b9a,public
X-Google-Thread: ff358,2e3c38014f1f451,start
X-Google-Attributes: gidff358,public
X-Google-Thread: 106243,2e3c38014f1f451,start
X-Google-Attributes: gid106243,public
X-Google-ArrivalTime: 2002-02-01 02:24:21 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!news.tele.dk!small.news.tele.dk!129.240.148.23!uio.no!news.kth.se!my.nada.kth.se!im99_foa
From: Marielle Fois <im99_foa@nada.kth.se>
Newsgroups: comp.emacs,comp.emacs.xemacs,fj.editor.emacs,gnu.emacs.help
Subject: Editing remote files in (x)emacs
Date: Fri, 1 Feb 2002 11:13:46 +0100
Lines: 40
Message-ID: <Pine.SOL.4.30.0202011054450.26817-100000@my.nada.kth.se>
NNTP-Posting-Host: my.nada.kth.se
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII