Skip to content

Commit

Permalink
Update snippet file mode to 640
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Karpelevich <[email protected]>
  • Loading branch information
dkarpele committed Dec 19, 2024
1 parent d1d8399 commit 41a2d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/system/tests/test_sssctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def test_sssctl__check_invalid_option_name_in_snippet(client: Client, contents,
:customerscenario: False
"""
client.sssd.common.local()
client.fs.write("/etc/sssd/conf.d/01_snippet.conf", contents, mode="600")
client.fs.write("/etc/sssd/conf.d/01_snippet.conf", contents, mode="640")

result = client.sssctl.config_check()
assert result.rc != 0, "Config-check did not detect misconfigured config snippet"
Expand Down

0 comments on commit 41a2d38

Please sign in to comment.