summarylogtreecommitdiffstats
path: root/trousers.install
diff options
context:
space:
mode:
Diffstat (limited to 'trousers.install')
-rw-r--r--trousers.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/trousers.install b/trousers.install
index 83eeec15f3fa..eddfd28e564d 100644
--- a/trousers.install
+++ b/trousers.install
@@ -2,6 +2,7 @@ post_install() {
groupadd -r tss
useradd -r -g tss -d /var/lib/tpm -s /bin/false tss
+ chown -R tss:tss /var/lib/tpm
chown tss:tss /usr/bin/tcsd
chown tss:tss /etc/tcsd.conf
@@ -17,7 +18,6 @@ post_upgrade() {
pre_remove() {
/etc/rc.d/tcsd stop &> /dev/null
systemctl stop tcsd
-# rm -rf /usr/var/lib/tpm
userdel tss
}