From b34dc9c1f1f5edc0d527f25d2b5a605a086742b2 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 20 Sep 2022 08:06:12 +0100 Subject: [PATCH] redfish: Set the permissions of redfish.conf at install time Although typically we set the password using fu_plugin_set_secure_config_value() or something like Ansible or Puppet -- the user could just edit the file with vim and we still want the permissions set correctly. --- plugins/redfish/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/redfish/meson.build b/plugins/redfish/meson.build index 95606e478..491246358 100644 --- a/plugins/redfish/meson.build +++ b/plugins/redfish/meson.build @@ -44,6 +44,7 @@ shared_module('fu_plugin_redfish', install_data(['redfish.conf'], install_dir: join_paths(sysconfdir, 'fwupd'), + install_mode: 'rw-r-----', ) if get_option('tests')