help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ange-ftp appears to have trouble with symbolic links to directories


From: Andrew Koenig
Subject: ange-ftp appears to have trouble with symbolic links to directories
Date: Sat, 1 Feb 2003 00:25:55 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

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 address@hidden 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, address@hidden, http://www.research.att.com/info/ark


reply via email to

[Prev in Thread] Current Thread [Next in Thread]