mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Ignore Bandit's B103(set_bad_file_permissions)
When external authentication is involved, we should allow these systems to write to salt's bus?
This commit is contained in:
parent
e3cb97a4ed
commit
fd9f9e94f8
1 changed files with 1 additions and 1 deletions
|
@ -1146,7 +1146,7 @@ class EventPublisher(salt.utils.process.SignalHandlingProcess):
|
||||||
if self.opts["ipc_mode"] != "tcp" and (
|
if self.opts["ipc_mode"] != "tcp" and (
|
||||||
self.opts["publisher_acl"] or self.opts["external_auth"]
|
self.opts["publisher_acl"] or self.opts["external_auth"]
|
||||||
):
|
):
|
||||||
os.chmod(
|
os.chmod( # nosec
|
||||||
os.path.join(self.opts["sock_dir"], "master_event_pub.ipc"),
|
os.path.join(self.opts["sock_dir"], "master_event_pub.ipc"),
|
||||||
0o666,
|
0o666,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue