On Fri, Aug 04, 2017 at 02:23:08PM +0200, David Haller wrote
> On Thu, 03 Aug 2017, Walter Dnes wrote:
> >On Thu, Aug 03, 2017 at 04:09:15PM +0100, Mick wrote
> >> On Thursday 03 Aug 2017 08:13:18 Walter Dnes wrote:
> >> > anon_root=/home/ftp
> >> Is this writeable?
> > If I do make it writeable, I get...
> >500 OOPS: vsftpd: refusing to run with writable root inside chroot()
> # mkdir /home/ftp/incoming
> # chown ftp.ftp /home/ftp/incoming
> # chmod 1777 /home/ftp/incoming
> # chmod 555 /home/ftp
I did the above (copy+paste; *WITHOUT* the "#", in case anyone asks).
Here's what happens. Question... why is it prompting me with "530 Please
login with USER and PASS." *AFTER* I give username "anonymous". BTW, if
I try any username, other than anonymous, it dies with a message about
being only an anonymous ftp server.
[i3][waltdnes][~/downloads] ftp -p 192.168.123.251
Connected to 192.168.123.251 (192.168.123.251).
220 (vsFTPd 3.0.2)
Name (192.168.123.251:waltdnes): anonymous
530 Please login with USER and PASS.
SSL not available
331 Please specify the password.
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put install-x86-minimal-20170207.iso
local: install-x86-minimal-20170207.iso remote: install-x86-minimal-20170207.iso
227 Entering Passive Mode (192,168,123,251,117,59).
553 Could not create file.
I did manage to get the video game transferred with tftp, after a bit
of extra work. I don't know if it's the old OS/2 Warp tftp client, or
part of the protocol, but it can only transfer files up to 33553920
bytes in size, i.e. 32 * 1024 * 1024 - 512 bytes. 32 megabytes looks
like some sort of coded-in limit. I had to do the transfer in pieces
less than 32 megabytes. I still want to get anonymous ftp working.
Walter Dnes <waltd...@waltdnes.org>
I don't run "desktop environments"; I run useful applications