打開配置文件/etc/vsftpd.conf
,查看是否配置了允許寫入。
將write_enable=NO
改爲write_enable=YES
:
# ################
# General Settings
# ################
#
# Uncomment this to enable any form of FTP write command.
#write_enable=NO
write_enable=YES
然後重啓一下vsftp服務就好了。
sudo systemctl restart vsftpd