ftp550不可创建文件

配置好vsftp后,客户端可连接上,但不可创建文件,提示出错:

550 Create directory operation failed

解决方法:

在selinux中修改即可

1、# setsebool -P ftpd_disable_trans on

2、[root@linux ~]# sestatus -b | grep ftp
allow_ftpd_anon_write                  off
allow_ftpd_full_access                 off
allow_ftpd_use_cifs                    off
allow_ftpd_use_nfs                     off
allow_tftp_anon_write                  off
ftp_home_dir                           off
ftpd_connect_db                        off
ftpd_disable_trans                     on
ftpd_is_daemon                         on
httpd_enable_ftp_server                off
tftpd_disable_trans                    off

查看到ftpd_disable_trans已允许

3、# /etc/init.d/vsftpd restart

你可能感兴趣的:(ftp,职场,休闲,550)