Skip to content

Commit

Permalink
Set permissions of bridge config to 644
Browse files Browse the repository at this point in the history
Signed-off-by: Krzysztof Piotrowski <[email protected]>
  • Loading branch information
Ruadhri17 committed Oct 12, 2023
1 parent faf58ca commit 753537c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/tedge/src/cli/connect/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ fn write_bridge_config_to_file(
common_draft.persist()?;

let config_path = get_bridge_config_file_path(config_location, bridge_config);
let mut config_draft = DraftFile::new(config_path)?;
let mut config_draft = DraftFile::new(config_path)?.with_mode(0o644);
bridge_config.serialize(&mut config_draft)?;
config_draft.persist()?;

Expand Down

0 comments on commit 753537c

Please sign in to comment.