ftp550不可创建文件

2015-11-20 hfreeze linux

配置好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

Powered by emlog