2013年(350)
分类: Oracle
2013-04-27 09:54:51
500 OOPS: cannot change directory ..........
表怕,解决起来很简单,只需要在启动vsftpd服务前,执行:setsebool ftpd_disable_trans 1,然后再重启服务即可,例如:
C:\Documents and Settings\Administrator>ftp 192.168.10.100
Connected to 192.168.10.100.
220 (vsFTPd 2.0.5)
User (192.168.10.100:(none)):
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/home/oracle
Login failed.切换至服务器端执行:
注:如果希望设置永久有效,在执行setsebool时附加 -p参数即可。
然后重新启动ftp服务:
[root@jssln1 ~]# service vsftpd restart
Shutting down vsftpd: [ OK ]
Starting vsftpd for vsftpd: [ OK ]客户端再次尝试通过ftp登陆:
C:\Documents and Settings\Administrator>ftp 192.168.10.100
Connected to 192.168.10.100.
220 (vsFTPd 2.0.5)
User (192.168.10.100:(none)): oracle
331 Please specify the password.
Password:
230 Login successful.