debian: permissions
This commit is contained in:
parent
65c4afc959
commit
0cdeaca21a
2
debian/taler-exchange.postinst
vendored
2
debian/taler-exchange.postinst
vendored
@ -17,7 +17,7 @@ function lncfg() {
|
|||||||
local cf=$TALER_HOME/$2/.config
|
local cf=$TALER_HOME/$2/.config
|
||||||
if [ ! -e $cf ]; then
|
if [ ! -e $cf ]; then
|
||||||
mkdir $cf
|
mkdir $cf
|
||||||
chown $1:$1 $cf
|
chown $(stat -L -c %u $TALER_HOME/$2):$(stat -L -c %g $TALER_HOME/$2) $cf
|
||||||
fi
|
fi
|
||||||
ln -sf $cf/taler.conf $3
|
ln -sf $cf/taler.conf $3
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user