Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!columbia!close.cs.columbia.edu!ji From: ji@close.cs.columbia.edu (John Ioannidis) Newsgroups: comp.unix.aix Subject: problems with chroot/anonymous ftp Message-ID: <6688@columbia.edu> Date: 28 Dec 89 15:47:27 GMT Sender: news@columbia.edu Reply-To: ji@close.cs.columbia.edu (John Ioannidis) Organization: Columbia University Department of Computer Science Lines: 28 I've been trying to set up anonymous ftp on a PS/2-80 running AIX 1.1, so far unsuccessfully. After a lot of experimentation, I'm pretty sure the culprit is the chroot system call (remember, ftpd tries to chroot to the anonymous account's home directory). Namely, the following program, when run, reports "No such file or directory". Any hints? # cat > foo.c main() { if (chroot("/tmp") < 0) perror("chroot"); } ^D # cc foo.c # a.out chroot: No such file or directory # chroot is too simple a system call to break. What's going on here? /ji In-Real-Life: John "Heldenprogrammer" Ioannidis E-Mail-To: ji@cs.columbia.edu V-Mail-To: +1 212 854 5510 P-Mail-To: 450 Computer Science \n Columbia University \n New York, NY 10027