| Summary: | ftpd does not interpret configuration files as documented | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | Josh Webb <joshwebb> |
| Component: | Books & Articles | Assignee: | freebsd-doc (Nobody) <doc> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Josh Webb
2008-03-19 16:50:03 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-doc This sounds like a documentation problem. Hi Josh Webb! On Wed, 19 Mar 2008 16:47:19 GMT; Josh Webb <joshwebb@gmail.com> wrote: > 3) A single line in ftpd.conf: > chroot all %d > The documentation seems to indicate that this should match all users and chroot them to their home directories. > I have not been able to get any results from the chroot command in ftpd.conf May be you're trying to use ftpd.conf with ftpd(8), but actually there are TWO ftp daemons in base system, and ftpd.conf(5) man page is for lukemftpd(8). The latter is obtained from NetBSD and more featureful, but does not support sendfile(2). This can be not only documentation problem, but a buildworld config too, as about two daemons installed at the SAME time. -- WBR, Vadim Goncharov. ICQ#166852181 mailto:vadim_nuclight@mail.ru [Moderator of RU.ANTI-ECOLOGY][FreeBSD][http://antigreen.org][LJ:/nuclight] Oops, I left out the "not" from "ftpd does NOT interpret configuration files as documented". Obviously, interpreting the file as documented would not be a bug. Yeah, looks like mostly a documentation problem. The ftpchroot(5) man page, which is also the ftpusers(5) man page, indicates that it is for controlling ftpd(8). The ftpusers(5) man page references ftpd.conf(5), which as Vadim Goncharov stated, is only used by lukemftpd(8). If two ftp daemons are going to be included in the base system, both of which use ftpchroot and ftpusers but parse them differently, the man pages for those files should describe how they are used by each of the two daemons. As a side note, it sounds like I can get the behavior I was looking for by using lukemftpd, rather than ftpd. State Changed From-To: open->closed This is well-known mess with the different versions of ftpd in the base system. There are already several opened PRs regarding this issue (e.g. docs/44519, docs/93785). |