执行vsftpd /etc/vsftpd.conf提示:500 OOPS: config file not owned by correct user, or not a file

My /etc/vsftpd.confconfiguration file is mounted in the container. The owner and group are nobody nogroup. Maybe this is wrong. I use the command in the entrypoint.sh script chown -R root:root /etc/vsftpd.confto change the owner and group to root root, and it can be executed normally. vsftpd /etc/vsftpd.confup

insert image description here

Reference article: Problem Analysis of Using vsftpd to Build FTP Service on Linux4.1.15

Guess you like

Origin blog.csdn.net/Dontla/article/details/130444066