aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-07-16 17:51:31 +0200
committerFlorian Dold <florian@dold.me>2021-07-16 17:51:31 +0200
commit0cdeaca21ada6f854e820c6b9eadb6131a4c2efc (patch)
treecc38b031d3ab8b2c53f604d96db88801f2a3fd0a
parent65c4afc959697e150a0e493dda7680d8b0b6c939 (diff)
debian: permissions
-rw-r--r--debian/taler-exchange.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/taler-exchange.postinst b/debian/taler-exchange.postinst
index 1c776c7ef..2d7e55627 100644
--- a/debian/taler-exchange.postinst
+++ b/debian/taler-exchange.postinst
@@ -17,7 +17,7 @@ function lncfg() {
local cf=$TALER_HOME/$2/.config
if [ ! -e $cf ]; then
mkdir $cf
- chown $1:$1 $cf
+ chown $(stat -L -c %u $TALER_HOME/$2):$(stat -L -c %g $TALER_HOME/$2) $cf
fi
ln -sf $cf/taler.conf $3
}