In order to set up anonymous FTP, first create a user named ftp in Network Manager. In the home directory, create the following directories:
bin
usr/lib
System/Library/Frameworks/System.framework/Versions/B
Copy the following files to their respective corresponding directories in the ftp directory:
/bin/ls
/usr/lib/dyld
/System/Library/Frameworks/System.framework/Versions/B/System
A complete directory listing is below. If dyld and the System framework are not copied, ls will not list any files.
dr-xr-xr-x 3 ftp ftp 1024 Mar 18 04:36 System
dr-xr-xr-x 2 ftp ftp 1024 Mar 18 04:22 bin
drwxr-xr-x 2 ftp ftp 1024 Mar 18 04:42 pub
dr-xr-xr-x 3 ftp ftp 1024 Mar 18 04:36 usr
./System:
total 2
dr-xr-xr-x 3 ftp ftp 1024 Mar 18 04:36 Library
./System/Library:
total 2
dr-xr-xr-x 3 ftp ftp 1024 Mar 18 04:36 Frameworks
./System/Library/Frameworks:
total 2
dr-xr-xr-x 3 ftp ftp 1024 Mar 18 04:36 System.framework
./System/Library/Frameworks/System.framework:
total 2
dr-xr-xr-x 3 ftp ftp 1024 Mar 18 04:36 Versions
./System/Library/Frameworks/System.framework/Versions:
total 2
dr-xr-xr-x 2 ftp ftp 1024 Mar 18 04:40 B
./System/Library/Frameworks/System.framework/Versions/B:
total 2760
-r-xr-xr-x 1 root ftp 1405672 Mar 18 04:40 System
./bin:
total 68
-r-xr-xr-x 1 ftp ftp 34548 Mar 18 04:22 ls
./pub:
total 2808
-rw-r--r-- 1 ftp ftp 1433600 Mar 18 04:41 Archive.tar
./usr:
total 2
dr-xr-xr-x 2 ftp ftp 1024 Mar 18 04:33 lib
./usr/lib:
total 440
-r-xr-xr-x 1 ftp ftp 220972 Mar 18 04:33 dyld