понедельник, 11 апреля 2016 г.

fixing "oops cannot change directory vsftpd" (Centos)

Open console an enter:
setsebool -P ftp_home_dir on

or if you want always allow full access:
setsebool -P allow_ftpd_full_access 1

pcfg_openfile: unable to check htaccess file, ensure it is readable selinux

Open console and enter:
chcon -t httpd_sys_rw_content_t /home/our_site.com/ -R