From: Andrew Koenig <ark@research.att.com>
Subject: ange-ftp appears to have trouble with symbolic links to directories
Date: Sat, 1 Feb 2003 00:25:55 GMT [thread overview]
Message-ID: <yu99bs1wkfsc.fsf@europa.research.att.com> (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
next reply other threads:[~2003-02-01 0:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-01 0:25 Andrew Koenig [this message]
2003-02-01 1:10 ` ange-ftp appears to have trouble with symbolic links to directories 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yu99bs1wkfsc.fsf@europa.research.att.com \
--to=ark@research.att.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.