From 06eaec6778456c84d3559e21fc1c438a598af0a7 Mon Sep 17 00:00:00 2001 From: Ian Pozella Date: Thu, 5 Jan 2017 09:01:04 +0000 Subject: [PATCH] trousers: set secure permissions for config file If the permissions are too open the tcsd daemon refuses to start. Signed-off-by: Ian Pozella --- trousers/files/tcsd.init | 1 + 1 file changed, 1 insertion(+) diff --git a/trousers/files/tcsd.init b/trousers/files/tcsd.init index d25f352..2160784 100644 --- a/trousers/files/tcsd.init +++ b/trousers/files/tcsd.init @@ -10,6 +10,7 @@ SYSTEM_DATA_PATH=/usr/share/tpm start_service() { mkdir -pm 775 $SYSTEM_DATA_PATH + chmod 600 $CONFIG_FILE chown -R tss:tss $SYSTEM_DATA_PATH $CONFIG_FILE procd_open_instance