From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andrew Koenig Newsgroups: gmane.emacs.help Subject: ange-ftp appears to have trouble with symbolic links to directories Date: Sat, 1 Feb 2003 00:25:55 GMT Organization: AT&T Shannon Laboratory, Florham Park, NJ Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044060155 8399 80.91.224.249 (1 Feb 2003 00:42:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 1 Feb 2003 00:42:35 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18elju-0002BJ-00 for ; Sat, 01 Feb 2003 01:42:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18eldN-0004bm-03 for gnu-help-gnu-emacs@m.gmane.org; Fri, 31 Jan 2003 19:35:49 -0500 Original-Newsgroups: gnu.emacs.help Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.abs.net!uunet!dca.uu.net!ash.uu.net!news.research.att.com!nntp X-Nntp-Posting-Host: europa.research.att.com User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Lines: 93 Original-Xref: shelby.stanford.edu gnu.emacs.help:109673 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6188 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6188 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