29 lines
901 B
Diff
29 lines
901 B
Diff
|
From 442f7f9200fbf6ec509dd0ee40eae2e37b2fb73e Mon Sep 17 00:00:00 2001
|
||
|
From: Richard Hughes <richard@hughsie.com>
|
||
|
Date: Tue, 20 Sep 2022 08:06:12 +0100
|
||
|
Subject: [PATCH 1/3] 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 34ba4b7f6..7b19574de 100644
|
||
|
--- a/plugins/redfish/meson.build
|
||
|
+++ b/plugins/redfish/meson.build
|
||
|
@@ -48,6 +48,7 @@ shared_module('fu_plugin_redfish',
|
||
|
|
||
|
install_data(['redfish.conf'],
|
||
|
install_dir: join_paths(sysconfdir, 'fwupd'),
|
||
|
+ install_mode: 'rw-r-----',
|
||
|
)
|
||
|
|
||
|
if get_option('tests')
|
||
|
--
|
||
|
2.39.1
|
||
|
|