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

我这个/etc/vsftpd.conf配置文件是挂载到容器里的,所有者和所属组为nobody nogroup,可能是这个不对,我在entrypoint.sh脚本里用chown -R root:root /etc/vsftpd.conf命令将所有者和所属组改成root root,就可以正常执行vsftpd /etc/vsftpd.conf

在这里插入图片描述

参考文章:在Linux4.1.15上使用vsftpd搭建FTP服务问题解析

猜你喜欢

转载自blog.csdn.net/Dontla/article/details/130444066