rsyslog 日志服务器接收日志权限问题

  1. rsyslog 权限;
  2. 默认
  3. [root@dr-mysql01 zjzc_log]# ls -ltr zj-frontend0*-access*27
  4. -rw——- 1 root root 322 Sep 27 07:55 zj-frontend02-access.2016-09-27
  5. 600
  6. $FileOwner elk
  7. $FileGroup elk
  8. $FileCreateMode 0755
  9. $DirCreateMode 0755
  10. $Umask 0022
  11. 修改后:
  12. [root@dr-mysql01 zjzc_log]# ls -ltr zj-frontend0*-access*27
  13. -rwxr-xr-x 1 elk elk 10558 Sep 27 07:58 zj-frontend02-access.2016-09-27
  14. http://blog.csdn.net/yurunsheng/article/details/8135629

Leave a Reply

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