구글검색결과

SELinux 로 인한 ftp 접속 불가 문제

Category :: Linux


Aug  1 23:01:55 kosthb kernel: audit(1217599315.074:11): avc:  denied  { search } for  pid=2127 comm="vsftpd" name="/" dev=hda3 ino=
2 scontext=root:system_r:ftpd_t:s0 tcontext=system_u:object_r:home_root_t:s0 tclass=dir
Aug  1 23:04:16 kosthb kernel: audit(1217599456.948:12): avc:  denied  { search } for  pid=2234 comm="vsftpd" name="/" dev=hda3 ino=
2 scontext=root:system_r:ftpd_t:s0 tcontext=system_u:object_r:home_root_t:s0 tclass=dir
Aug  1 23:05:05 kosthb kernel: audit(1217599505.603:13): avc:  denied  { search } for  pid=2269 comm="vsftpd" name="home" dev=hda2 i
no=851137 scontext=root:system_r:ftpd_t:s0 tcontext=system_u:object_r:home_root_t:s0 tclass=dir


해결방법
1. setsebool ftpd_disable_trans 1
2. ftp 데몬 재시작