unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* ange-ftp appears to have trouble with symbolic links to directories
@ 2003-02-01  0:25 Andrew Koenig
  2003-02-01  1:10 ` Stefan Monnier <foo@acm.com>
  0 siblings, 1 reply; 7+ messages in thread
From: Andrew Koenig @ 2003-02-01  0:25 UTC (permalink / raw)


I'm running emacs 21.2 under Solaris 2.8.

On another machine (which I will pretend is named "remote", and which
 happens to be Solaris 2.7, but I doubt it matters), I do the
 following:

        cd /tmp
        mkdir test
        echo hello >test/hello
        ln -s /tmp/test foo

So /tmp/foo should be a synonym for /tmp/test.  Indeed, if I now try

        cat /tmp/foo/hello

it prints hello, as it should.


Now, from my local machine, I try to use ange-ftp to read this file,
by visiting  remote:/tmp/foo/hello.  It fails, in the following way:

I can read remote:/tmp just fine; it looks like this (in dired):

  /remote:/tmp:
  total 1714
  drwxrwxrwt  18 sys      sys         2188 Jan 31 19:15 .
  drwxr-xr-x  25 root     root         512 Jul  8  2002 ..

                        ...

  lrwxrwxrwx   1 ark      ark            9 Jan 31 19:15 foo -> /tmp/test

                        ...

  drwxr-xr-x   2 ark      ark          179 Jan 31 19:09 test


I can also /remote:/tmp/test without difficulty, and also
/remote:/tmp/test/hello.  I can even visit /remote:/tmp/foo/hello.

However, if I try to visit /remote:/tmp/foo, it fails:

  /remote:/tmp/foo:
  /remote:/tmp/test: No such file or directory

If it helps, I blew away the *ftp ark@remote* buffer and tried to
visit remote:/tmp/foo; the resulting buffer follows.  Any ideas?



---------------------------------start of buffer------------------------
ftp> open remote
Connected to remote.research.att.com.
220 remote.research.att.com FTP server (SunOS 5.7) ready.
user "ark" Turtle Power!
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> 331 Password required for ark.
230 User ark logged in.
ftp> hash
Hash mark printing on (1024 bytes/hash mark).
ftp> pwd
257 "/export/remote1/homes1/ark" is current directory.
ftp> ls "-al /tmp/." /tmp/ange-ftp5340pV1
227 Entering Passive Mode (135,207,25,94,188,104)
150 ASCII data connection for /bin/ls (135.207.23.117,36326) (0 bytes).

226 ASCII Transfer complete.
ftp> ls "-al /remote:/tmp/." /tmp/ange-ftp5340bfE
227 Entering Passive Mode (135,207,25,94,188,105)
150 ASCII data connection for /bin/ls (135.207.23.117,36327) (0 bytes).

226 ASCII Transfer complete.
ftp> ls "-al /remote:/tmp/test" /tmp/ange-ftp5340opK
227 Entering Passive Mode (135,207,25,94,188,106)
150 ASCII data connection for /bin/ls (135.207.23.117,36328) (0 bytes).

226 ASCII Transfer complete.
ftp> ls "-al /tmp/foo/." /tmp/ange-ftp53401zQ
227 Entering Passive Mode (135,207,25,94,188,107)
150 ASCII data connection for /bin/ls (135.207.23.117,36329) (0 bytes).

226 ASCII Transfer complete.
ftp> quote mdtm /tmp/foo/
500 'MDTM /tmp/foo/': command not understood.
ftp> quote mdtm /tmp/foo/
500 'MDTM /tmp/foo/': command not understood.
ftp> 
--------------------------------- end of buffer ------------------------


-- 
Andrew Koenig, ark@research.att.com, http://www.research.att.com/info/ark

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-02-23 21:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-01  0:25 ange-ftp appears to have trouble with symbolic links to directories Andrew Koenig
2003-02-01  1:10 ` Stefan Monnier <foo@acm.com>
2003-02-01  4:16   ` Andrew Koenig
2003-02-03 21:01   ` Andrew Koenig
2003-02-03 21:08   ` Andrew Koenig
2003-02-07 21:47   ` Andrew Koenig
2003-02-23 21:15     ` Stefan Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).