summaryrefslogtreecommitdiff
path: root/debian/taler-exchange.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/taler-exchange.postinst')
-rw-r--r--debian/taler-exchange.postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/taler-exchange.postinst b/debian/taler-exchange.postinst
index 0898f6ac5..cfaf04a45 100644
--- a/debian/taler-exchange.postinst
+++ b/debian/taler-exchange.postinst
@@ -179,6 +179,11 @@ EOF
cp -f "${CONFIG_NEW}" "${CONFIG_FILE}"
echo " done."
+ mkdir -p /var/lib/taler-exchange/tmp
+ chown root:taler /var/lib/taler-exchange/tmp
+ chmod 770 /var/lib/taler-exchange/tmp
+ chmod +s /var/lib/taler-exchange/tmp
+
# Cleaning
rm -f "${CONFIG_NEW}"
echo "All done."