[comp.music] Access to Canon and Fugue

maverick@mahogany.Berkeley.EDU (Vance Maverick) (06/14/91)

Several people have complained they couldn't follow my directions to Roger Dannenberg's Fugue program.  One person just told me flatly they couldn't work.  O ye of little faith!  Here's a transcript to show you what to do -- and what not to do.

ftp> open g.cs.cmu.edu
Connected to G.GP.CS.CMU.EDU.
220 G.GP.CS.CMU.EDU FTP server (Version 4.105 of 10-Jul-90 12:07) ready.
Name (g.cs.cmu.edu:maverick): anonymous
331 Guest login ok, send username@node as password.
Password:
230 Filenames can not have '/..' in them.
ftp> cd usr/rbd/cmt
530 Access not allowed for guest users for path usr/rbd/cmt
ftp> cd /usr/rbd/cmt/fugue
250 Directory path set to /usr/rbd/cmt/fugue.
ftp> ls
200 PORT command successful.
150 Opening data connection for ls (128.32.131.149,1670).
doc
fugue.tar.Z
interf
lsp
src
226 Transfer complete.
36 bytes received in 0.04 seconds (0.88 Kbytes/s)
ftp> close
221 Goodbye.
ftp> quit

Note incorrect assumption that ftp would let me read the current directory from wherever it logs you in.....

adrianho@barkley.berkeley.edu (Adrian J Ho) (06/15/91)

In article <1991Jun14.162855.21572@agate.berkeley.edu> maverick@mahogany.Berkeley.EDU (Vance Maverick) writes:
>Note incorrect assumption that ftp would let me read the current
>directory from wherever it logs you in.....

Well, the _real_ reason is:

ftp> pwd
257 "/tmp" is current directory.

is where your ftp session starts.

Folks, don't assume that all ftpd's do a chroot().  With regards to
AFS (Andrew File System), all such bets are off.  Also, don't be
fooled by:

>230 Filenames can not have '/..' in them

Take it literally: You _can_ do a "cd .." -- you just can't cd with a
path spec that has the _string_ "/.." in it.