From 5826ae279f15933c7321342349c4044a25c900d9 Mon Sep 17 00:00:00 2001 From: Reuben Miller Date: Tue, 18 Jun 2024 16:42:18 +0200 Subject: [PATCH] feat: avoid using 444 permissions in example tedge-configuration file Signed-off-by: Reuben Miller --- crates/extensions/tedge_config_manager/src/lib.rs | 2 +- crates/extensions/tedge_config_manager/src/tests.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/extensions/tedge_config_manager/src/lib.rs b/crates/extensions/tedge_config_manager/src/lib.rs index d221bed2560..0c2243d7dbf 100644 --- a/crates/extensions/tedge_config_manager/src/lib.rs +++ b/crates/extensions/tedge_config_manager/src/lib.rs @@ -133,7 +133,7 @@ impl ConfigManagerBuilder { type = "tedge-log-plugin" user = "tedge" group = "tedge" - mode = 444 + mode = 644 } .to_string(); create_file_with_defaults(&config.plugin_config_path, Some(&example_config))?; diff --git a/crates/extensions/tedge_config_manager/src/tests.rs b/crates/extensions/tedge_config_manager/src/tests.rs index c1674dbd100..576e4267de6 100644 --- a/crates/extensions/tedge_config_manager/src/tests.rs +++ b/crates/extensions/tedge_config_manager/src/tests.rs @@ -163,7 +163,7 @@ async fn default_plugin_config() { type = "tedge-log-plugin" user = "tedge" group = "tedge" - mode = 444 + mode = 644 }; assert_eq!(plugin_config_toml, expected_config);