ftp链接报错500 OOPS: cannot change directory:/home解决方法
2013-06-20 20:03
666 查看
如果使用setsebool -P ftpd_disable_trans 1
提示错误:
[root@linux115 vsftpd]# setsebool -P ftpd_disable_trans 1
libsemanage.dbase_llist_set: record not found in the database (No such file or directory).
libsemanage.dbase_llist_set: could not set record value (No such file or directory).
Could not change boolean ftpd_disable_trans
Could not change policy booleans
解决方法:
[root@linux115 vsftpd]# setsebool -P allow_ftpd_full_access 1
[root@linux115 vsftpd]# setsebool -P allow_ftpd_use_cifs 1
[root@linux115 vsftpd]# setsebool -P allow_ftpd_use_nfs 1
[root@linux115 vsftpd]# setsebool -P ftp_home_dir 1
[root@linux115 vsftpd]# setsebool -P httpd_enable_ftp_server 1
[root@linux115 vsftpd]# setsebool -P tftp_anon_write 1
[root@linux115 vsftpd]# service vsftpd restart
[root@linux115 vsftpd]# getsebool -a | grep ftp
allow_ftpd_anon_write --> off
allow_ftpd_full_access --> on
allow_ftpd_use_cifs --> on
allow_ftpd_use_nfs --> on
ftp_home_dir --> on
ftpd_connect_db --> off
httpd_enable_ftp_server --> on
sftpd_anon_write --> off
sftpd_enable_homedirs --> off
sftpd_full_access --> off
sftpd_write_ssh_home --> off
tftp_anon_write --> on
重启vsftpd,即可解决问题。
End.
提示错误:
[root@linux115 vsftpd]# setsebool -P ftpd_disable_trans 1
libsemanage.dbase_llist_set: record not found in the database (No such file or directory).
libsemanage.dbase_llist_set: could not set record value (No such file or directory).
Could not change boolean ftpd_disable_trans
Could not change policy booleans
解决方法:
[root@linux115 vsftpd]# setsebool -P allow_ftpd_full_access 1
[root@linux115 vsftpd]# setsebool -P allow_ftpd_use_cifs 1
[root@linux115 vsftpd]# setsebool -P allow_ftpd_use_nfs 1
[root@linux115 vsftpd]# setsebool -P ftp_home_dir 1
[root@linux115 vsftpd]# setsebool -P httpd_enable_ftp_server 1
[root@linux115 vsftpd]# setsebool -P tftp_anon_write 1
[root@linux115 vsftpd]# service vsftpd restart
[root@linux115 vsftpd]# getsebool -a | grep ftp
allow_ftpd_anon_write --> off
allow_ftpd_full_access --> on
allow_ftpd_use_cifs --> on
allow_ftpd_use_nfs --> on
ftp_home_dir --> on
ftpd_connect_db --> off
httpd_enable_ftp_server --> on
sftpd_anon_write --> off
sftpd_enable_homedirs --> off
sftpd_full_access --> off
sftpd_write_ssh_home --> off
tftp_anon_write --> on
重启vsftpd,即可解决问题。
End.
相关文章推荐
- centos yum安装ftp 及解决vsftp错误500 OOPS: cannot change directory:/home/**
- ftp服务器显示500 oops cannot change home/harry解决方法
- 【linux】——FTP出现500 OOPS: cannot change directory的解决方法
- [乐意黎原创]VSFTPD进行FTP连接时显示500 OOPS: cannot change directory:/ftp/private错误的解决方法
- FTP出现500 OOPS: cannot change directory的解决方法
- 【linux】 解决linux下vsftp 500 OOPS: cannot change directory:/home/ftp/ 办法
- 关于ftp用户连接时出现500 OOPS: cannot change directory的解决办法
- 不关闭seLinux解决vsftpd服务本地用户不能登录问题(500 OOPS: cannot change directory:/home/***)
- 连接 FTP 服务器提示“500 OOPS: cannot change directory:/home/xxx”
- 连接 FTP 服务器提示“500 OOPS: cannot change directory:/home/xxx”
- 登陆linux ftp时再输入用户名和密码出现:500 OOPS: cannot change directory:/home/**********
- VSFTP成功安装访问被拒绝问题 500 OOPS: cannot change directory:/home/ftp
- vsftpd出现“Response: 500 OOPS: cannot change directory”解决方法
- vsftpd出现“Response: 500 OOPS: cannot change directory”解决方法
- VSFTP成功安装访问被拒绝问题 500 OOPS: cannot change directory:/home/ftp
- FTP错误 500 OOPS: cannot change directory:/home/xxx
- 使用客户端登陆ftp 500 OOPS: cannot change directory:/home/virftp解决
- 不关闭seLinux解决vsftpd服务本地用户不能登录问题(500 OOPS: cannot change directory:/home/***
- 不关闭seLinux解决vsftpd服务本地用户不能登录问题(500 OOPS: cannot change directory:/home/*** ( 转)
- vsftpd出现“Response: 500 OOPS: cannot change directory”解决方法