Merge pull request #809 from kinvolk/kai/tcsd

app-crypt/trousers: use correct file permissions
This commit is contained in:
Kai Lüke 2021-02-01 18:04:05 +01:00 committed by GitHub
commit aa8083cd03
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
d /var/lib/tpm 0755 tss tss - -
C /etc/tcsd.conf 0600 tss tss - /usr/share/trousers/tcsd.conf
C /etc/tcsd.conf 0640 root tss - /usr/share/trousers/tcsd.conf
C /var/lib/tpm/system.data 0600 tss tss - /usr/share/trousers/system.data

View File

@ -67,7 +67,7 @@ src_install() {
use doc && dodoc doc/*
# Flatcar:
# (removed newinitd and newconfd)
fowners tss:tss /etc/tcsd.conf
fowners root:tss /etc/tcsd.conf
systemd_dounit "${FILESDIR}"/tcsd.service
@ -84,6 +84,6 @@ src_install() {
# stash a copy of the config so we can restore it from tmpfiles
doins "${D}"/etc/tcsd.conf
fowners tss:tss /usr/share/trousers/system.data
fowners tss:tss /usr/share/trousers/tcsd.conf
fowners root:tss /usr/share/trousers/tcsd.conf
systemd_dotmpfilesd "${FILESDIR}"/tmpfiles.d/trousers.conf
}