Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!pur-ee!mentor.cc.purdue.edu!nelson From: nelson@mentor.cc.purdue.edu (J. Nelson Howell) Newsgroups: comp.unix.aix Subject: Re: Help with Anonymous FTP Keywords: broke chroot Message-ID: <7507@mentor.cc.purdue.edu> Date: 15 Feb 90 16:38:18 GMT References: <9012@stiatl.UUCP> Reply-To: nelson@mentor.cc.purdue.edu (J. Nelson Howell) Distribution: usa Organization: Purdue University Lines: 19 In article <9012@stiatl.UUCP> chris@stiatl.UUCP (Chris Cheyney) writes: > ... >I've looked at the BSD FTP daemon source code and determined that the >problem is a chroot() call failing. The actual place where it fails is > ... >Does anyone have a clue why the chroot() call would be failing so > ... Chris, I recently had a similar problem porting a program that required chroot(). The problem is that the alias $LOCAL wants to be set to / where is your machine name. The only thing required is that you create a / subdirectory within the directory that is to be the new root. It is documented, but crypticly under chroot(). J. Nelson Howell System Programmer nelson@midas.mgmt.purdue.edu Krannert Gracuate School of Management NELSON@PURCCVM.BITNET Purdue University