收紧证书目录写入权限
移除 systemd 对旧默认证书目录的静态写入授权,证书目录由初始化流程按用户输入动态授权,并同步更新权限策略测试。
This commit is contained in:
1 parent
80029c2d1f
commit
27cd1b1cee
2 files changed
+2
-2
No files matched your search
@@ -38,7 +38,7 @@ func TestScertSystemdUnitPolicy(t *testing.T) {
|
||||
"RestrictSUIDSGID=yes",
|
||||
"RemoveIPC=yes",
|
||||
"SystemCallArchitectures=native",
|
||||
"ReadWritePaths=/ssl/scert /scert/conf /scert/data /scert/log /scert/backups",
|
||||
"ReadWritePaths=/scert/conf /scert/data /scert/log /scert/backups",
|
||||
"[Install]",
|
||||
"WantedBy=multi-user.target",
|
||||
} {
|
||||
|
||||
Reference in new issue
Block a user