连接 FTP 服务器提示“500 OOPS: cannot change directory:/home/xxx”
来源:互联网 发布:小刀娱乐网源码带采集 编辑:程序博客网 时间:2024/05/14 21:31
提示“500 OOPS: cannot change directory:/home/xxx”,不能切换到用户宿主目录?一看到与宿主目录有关,第一反应就是会不会又跟 SELinux 中的策略有关,因为之前测试 Samba 实现“允许用户通过 Windows 客户端访问自己的宿主目录”,就需要先执行 setsebool -P samba_enable_home_dirs on,而且用 getsebool -a | grep ftp 也看到了一个“ftp_home_dir --> off”。不过还是先百度了一下,继而在终端下执行:
# setsebool ftpd_disable_trans 1
# service vsftpd restart
结果刚执行完第一条就提示“Could not change active booleans: Invalid boolean”,又是没见过的提示,baidu~,果然与那个“ftp_home_dir”有关,执行:
# setsebool ftp_home_dir on(注:在服务 running 状态下执行时间会比较久)
阅读全文
0 0
- 连接 FTP 服务器提示“500 OOPS: cannot change directory:/home/xxx”
- 连接 FTP 服务器提示“500 OOPS: cannot change directory:/home/xxx”
- 连接 FTP 服务器提示“500 OOPS: cannot change directory:/home/xxx”
- FTP错误 500 OOPS: cannot change directory:/home/xxx
- 500 OOPS: cannot change directory:/home/xxx”
- Linux下登陆FTP服务器报错“不能改变目录” 具体语句如下:500 OOPS:cannot change directory:/home/xxx
- vsftp登录错误 500 OOPS: cannot change directory:/home/xxx
- 500 OOPS: cannot change directory:/home/xxx centos6.x
- vsftpd 启动问题:500 OOPS: cannot change directory:/home/ftp
- vsftp 500 OOPS: cannot change directory:/home/
- vsftp 500 OOPS: cannot change directory:/home/***
- 500 OOPS: cannot change directory:/home/user3
- vsftp 500 OOPS: cannot change directory:/home/
- 500 OOPS: cannot change directory:/home/lubinsu
- vsftpd 500 OOPS: cannot change directory:/home/***
- 500 OOPS:cannot change directory:/home/***
- 500 OOPS: cannot change directory:/home/
- 500 OOPS: cannot change directory:/home/
- ionic使用(一):下载、安装、创建一个项目
- 【机器学习】概论
- segnet---训练
- ORM的概念, ORM到底是什么
- 对象比较
- 连接 FTP 服务器提示“500 OOPS: cannot change directory:/home/xxx”
- C++之windows下的udp协议封装学习笔记
- Thread.sleep还是TimeUnit.SECONDS.sleep
- 工作语言http服务器工具框架数据库
- Linux常用命令
- 一个简单地聊天程序
- SpringMVC @RequestParam 中文乱码问题解决
- spring原理
- python_BeautifulSoup