Linux小问题集锦

Standard

用http来下载网站下*.zip一类的附件时权限报错.运行如下命令
chcon -Rt httpd_sys_content_t /var/www/html/yemaosheng.com/

系统用户无法登录FTP,运行如下命令
setsebool ftpd_disable_trans 1

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.