mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-07 10:22:12 +01:00
Merge pull request #809 from kinvolk/kai/tcsd
app-crypt/trousers: use correct file permissions
This commit is contained in:
commit
aa8083cd03
@ -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
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user