Skip to content

Commit

Permalink
Merge pull request #2948 from reubenmiller/feat-avoid-read-only-confi…
Browse files Browse the repository at this point in the history
…g-example

feat: avoid using 444 permissions in example tedge-configuration file
  • Loading branch information
reubenmiller authored Jun 18, 2024
2 parents 9e7af48 + 5826ae2 commit 8502b28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/extensions/tedge_config_manager/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))?;
Expand Down
2 changes: 1 addition & 1 deletion crates/extensions/tedge_config_manager/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8502b28

Please sign in to comment.