0
点赞
收藏
分享

微信扫一扫

【Linux】搭建ftp服务的时候,提示500 OOPS: vsftpd: refusing to run with writable root inside chroot()的解决方案

阎小妍 2023-11-27 阅读 49


方案是以下两种:

方案一
$ chmod a-w /vaf/ftp
 
方案二
$ vim /etc/vsftpd.conf add the following
allow_writeable_chroot=YES

手贱,下意识的将ftp根目录 777 了。根本原因在于,从vsftpd_2.3.5版开始,取消了根目录的可写权限

举报

相关推荐

简单的Linux Ftp服务搭建

微服务的解决方案

0 条评论