debian: permissions

This commit is contained in:
Florian Dold 2021-07-16 17:51:31 +02:00
parent 65c4afc959
commit 0cdeaca21a
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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
}