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:
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
There are many references to this, no need for me to be anotehre reference, I just wrote this article as a reminder for myself: