From 5659559b40745cc684b573bfa9ed0e555edc00d0 Mon Sep 17 00:00:00 2001 From: CroneKorkN Date: Fri, 23 Oct 2026 12:08:05 +0200 Subject: [PATCH] fix(sudo): sudoers files with mode 0440 visudo -c reported "bad permissions, should be mode 0440" for every file in /etc/sudoers.d. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01RywMtsL8qXG7GDY3MHq9Uh --- bundles/sudo/items.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/sudo/items.py b/bundles/sudo/items.py index f31b8c3..70120a9 100644 --- a/bundles/sudo/items.py +++ b/bundles/sudo/items.py @@ -13,5 +13,5 @@ for user, commands in node.metadata.get('sudoers').items(): 'user': user, 'commands': commands, }, - 'mode': '500', + 'mode': '0440', }