summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Timo Gurr <tgurr@exherbo.org> 2018-01-18 16:48:24 +0100
committerAvatar Timo Gurr <tgurr@exherbo.org> 2018-01-18 17:00:43 +0100
commitdd02565977cb704fe23b6d18d45088cf28bf6090 (patch)
treebc81b5e301a4c756d31ca60c899276916db04f96
parentb63f2e7ef1e82098554d8df23ae993ea92fa2280 (diff)
downloadnet-dd02565977cb704fe23b6d18d45088cf28bf6090.tar.gz
net-dd02565977cb704fe23b6d18d45088cf28bf6090.tar.xz
sssd: set correct permission on /etc/sssd/sssd.conf
Change-Id: I4d55abe0f4c3ea3dad27d41c726a4802aec62ec6 Reviewed-on: https://galileo.mailstation.de/gerrit/11159 Reviewed-by: Timo Gurr <tgurr@exherbo.org>
-rw-r--r--packages/sys-auth/sssd/sssd-1.16.0-r1.exheres-0 (renamed from packages/sys-auth/sssd/sssd-1.16.0.exheres-0)2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/sys-auth/sssd/sssd-1.16.0.exheres-0 b/packages/sys-auth/sssd/sssd-1.16.0-r1.exheres-0
index 5b63968..e05e089 100644
--- a/packages/sys-auth/sssd/sssd-1.16.0.exheres-0
+++ b/packages/sys-auth/sssd/sssd-1.16.0-r1.exheres-0
@@ -169,6 +169,8 @@ EOF
# install a sane default configuration
insinto /etc/${PN}
doins "${WORK}"/src/examples/sssd.conf
+ edo chmod 0600 "${IMAGE}"/etc/sssd/sssd.conf
+
# remove config file installed to the wrong location
edo rm "${IMAGE}"/usr/$(exhost --target)/lib/sssd/conf/sssd.conf