Hello Denys,

Here's how to reproduce the error:

I'm using a i386 Ubuntu 10.04.

- Enable the "Force NOMMU build" in menuconfig. (Also make sure the ftpd is 
added.)
- Add the busybox ftpd to your inetd. Something like:

ftp     stream  tcp     nowait  root    /home/mk/workspace/busybox/busybox      
busybox ftpd -w /home/

- The important part is the jail dir. Eg. "/home/". Whatever. Make sure it has 
a file or two. (And reload your inetd.)
- Open your favorite ftp client against the server. I'm using WinSCP, FileZilla 
or win32 ftp. 
- If the ftp client can list your files, then all is good. (Mine cannot.)

The problem lies in the "exit jail" under the NO_MMU part.

Regards,
Morten Kvistgaard


-----Original Message-----
From: Denys Vlasenko [mailto:vda.li...@googlemail.com] 
Sent: 25. juni 2014 16:23
To: Morten Kvistgaard
Cc: Bernhard Reutner-Fischer; busybox@busybox.net
Subject: Re: ftpd authentication [PATCH] ftpd: NOMMU/chroot fix

On Tue, Jun 24, 2014 at 2:25 PM, Morten Kvistgaard <m...@pch-engineering.dk> 
wrote:
> Hello Bernhard,
>
> The first patch for ftpd authentication is a bug fix for NOMMU platforms.
>
> You need a working jail in order for the authentication to make sense. (And 
> I've got a NOMMU platform.) The patch has been tested on both NOMMU and 
> normal platforms.

What bug does it fix? I just tested current git and it works.

(Also, your patch is whitespace damaged, please send future patches as 
attachments if in doubt that your mail program does not corrupt inline patches).

 
 
--
This message has been scanned for viruses and dangerous content by CronLab
(www.cronlab.com), and is believed to be clean.

Attachment: 0001-NOMMU-chroot-fix.patch
Description: 0001-NOMMU-chroot-fix.patch

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to