Skip to main content

Vsftpd LXC ERR500

VSFTPD in container list error 500

When running VSFTPD in a container (LXC here, did not try on Docker), default configuration makes directory listing unavailable.
Listing directory content generate an Error 500:
$ lftp ftp://192.168.99.58/os/
cd ok, cwd=/os
lftp 192.168.99.58:/os> ls
ls: Fatal error: 500 OOPS: 
This is due to the fact VSFTPD use "seccomp" (well, dont ask what it is: I dont know)
In order to work arround, I just had to add this line to the VSFTPD configuration:
seccomp_sandbox=NO