首页 > 代码库 > ftp下载文件失败get: Access failed: 550 Failed to open file. (t1.log)

ftp下载文件失败get: Access failed: 550 Failed to open file. (t1.log)

get: Access failed: 550 Failed to open file. (t1.log)

原因是被SELinux安全访问控制策略限制了。科普:    SELinux(Security-Enhanced Linux) 是美国国家安全局(NAS)对于强制访问控 制的实现,在这种访问控制体系的限制下,进程只能访问那些在他的任务中所需要文件。执行:root@lb-1 /var/ftp/pub/tmpDir # setsebool -P allow_ftpd_full_access 1解决!

 

ftp下载文件失败get: Access failed: 550 Failed to open file. (t1.log)