에러)
응답 : 500 OOPS: cannot change directory:/home/계정명
해결방안)
SELINUX 정책에서 FTP 관련으로 겁색한다
# getsebool -a |grep ftp
allow_ftpd_anon_write --> off
allow_ftpd_full_access --> off
allow_ftpd_use_cifs --> off
allow_ftpd_use_nfs --> off
ftp_home_dir --> off
ftpd_connect_db --> off
ftpd_use_fusefs --> off
ftpd_use_passive_mode --> off
httpd_enable_ftp_server --> off
tftp_anon_write --> off
tftp_use_cifs --> off
tftp_use_nfs --> off
# setsebool ftp_home_dir on
# getsebool -a |grep ftp
allow_ftpd_anon_write --> off
allow_ftpd_full_access --> off
allow_ftpd_use_cifs --> off
allow_ftpd_use_nfs --> off
ftp_home_dir --> on
ftpd_connect_db --> off
ftpd_use_fusefs --> off
ftpd_use_passive_mode --> off
httpd_enable_ftp_server --> off
tftp_anon_write --> off
tftp_use_cifs --> off
tftp_use_nfs --> off
# /etc/init.d/vsftpd restart
Shutting down vsftpd: [ OK ]
Starting vsftpd for vsftpd: [ OK ]
에러)
500 OOPS:vsftpd refusing to run with writable root inside chroot()
해결방안)
# vi /etc/vsftpd/vsftpd.conf
아래 내용 추가해줍니다.
allow_writeable_chroot=YES
'LINUX > BASIC' 카테고리의 다른 글
리눅스 서버 내 온도 확인 (0) | 2019.07.30 |
---|---|
Telegram 설치 (0) | 2019.07.24 |
Coredump 생성 (0) | 2019.06.29 |
python3 소스설치 (0) | 2019.06.04 |
Git 설치 및 설정 (0) | 2019.06.03 |