瀏覽代碼

Default file permission for firewalld.conf is 644 not 640 (CentOS). Even if I think that "others" don't need to read that, it always shows up as file with non-default permissions from default rpm package in security scans. e.g. "rpm -Va |grep ^.M" or more salty way: "salt '*' pkg.verify" / salt '*' pkg.modified firewalld mode=True; manual fix e.g. rpm --setperms firewalld-*.el7.noarch

tags/v0.6.2
Angelo Verona 7 年之前
父節點
當前提交
b1d6b52307
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      firewalld/config.sls

+ 1
- 1
firewalld/config.sls 查看文件

@@ -18,7 +18,7 @@ config_firewalld:
- name: /etc/firewalld/firewalld.conf
- user: root
- group: root
- mode: 640
- mode: 644
- source: salt://firewalld/files/firewalld.conf
- template: jinja
- require:

Loading…
取消
儲存