Vsftpd not showing file directory in browser

I’ve been trying to set up a FTP server with anonymous logins. When I try to open my ftp server in my browser it shows no directories or files in the directory. I have configured the vsftpd.conf file to my ftp root directory which is /srv/ftp. I am successfully able to login according to the vsftpd.log

vsftpd.log

FileZilla logs

vsftpd.conf

When I try to get a file

FTP obviously recognizes the file structure

Hi @Macky, you manage to make vsftpd work?

I only followed some instruction from addictive tips but I’m not able to use FTP from within local host.

I only get:

Connecting to 127.0.0.1:21…
Status: Connection established, waiting for welcome message…
Status: Insecure server, it does not support FTP over TLS.
Status: Logged in
Status: Retrieving directory listing…
Command: PWD
Response: 257 “/” is the current directory
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Response: 227 Entering Passive Mode (127,0,0,1,68,133).
Command: LIST
Response: 500 OOPS: priv_sock_get_cmd
Error: Failed to retrieve directory listing
Status: Connection closed by server

my experience similar to this post.

I did not get it working. I might just use AWS to set up a FTP server or something, but it would be nice to have a solution in the case that someone in the future that might have the same problem.

Hi, i had this issue on 2 machines. seems to be a bug in vsftpd.
The solution i found was to add the below to the end of /etc/vsftpd.conf:
seccomp_sandbox=NO
I would link to the site where i found this but for some reason i can’t add links here right now.
I googled “500 OOPS: priv_sock_get_cmd” and the answer was on a site called liquidweb .com about 4 results down.
hope this helps anyone with the same issue in the future.
Paul.