aboutsummaryrefslogtreecommitdiff
path: root/taler-exchange
diff options
context:
space:
mode:
authorSlack Coder <slackcoder@server.ky>2024-03-12 16:50:00 -0500
committerSlack Coder <slackcoder@server.ky>2024-03-12 16:49:56 -0500
commit8c82741a502c5038a0975f29e31925d458879825 (patch)
tree49e82b6bc7e9f146404722ba0a407d85ce4d8030 /taler-exchange
parentb9eaaf853abd4250a6bc424914dae5189bc23de6 (diff)
downloadslackbuilds-8c82741a502c5038a0975f29e31925d458879825.tar.xz
taler: fix incorrect setting of permissions
Diffstat (limited to 'taler-exchange')
-rw-r--r--taler-exchange/doinst.sh1
-rwxr-xr-xtaler-exchange/taler-exchange.SlackBuild10
2 files changed, 0 insertions, 11 deletions
diff --git a/taler-exchange/doinst.sh b/taler-exchange/doinst.sh
index e9cbe05..86d7e2f 100644
--- a/taler-exchange/doinst.sh
+++ b/taler-exchange/doinst.sh
@@ -143,4 +143,3 @@ chown root:taler var/log/taler
chown :taler etc/taler/secrets/exchange-accountcredentials-1.secret.conf.new
chown :taler-exchange-db etc/taler/secrets/exchange-db.secret.conf.new
-chown :taler-exchange-db etc/taler/secrets/exchange-db.secret.conf.new
diff --git a/taler-exchange/taler-exchange.SlackBuild b/taler-exchange/taler-exchange.SlackBuild
index 7234194..3b76dd1 100755
--- a/taler-exchange/taler-exchange.SlackBuild
+++ b/taler-exchange/taler-exchange.SlackBuild
@@ -5,9 +5,6 @@ VERSION=${VERSION:-0.9.4a}
BUILD=${BUILD:-1}
TAG=${TAG:-_slackcoder}
-TALER_GID=${TALER_GID:-704}
-TALER_EXCHANGE_DB_GID=${TALER_EXCHANGE_DB_GID:-705}
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -83,21 +80,14 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
mkdir -p $PKG/etc/taler/secrets
-chown root:$TALER_GID $PKG/etc/taler/secrets
mkdir -p $PKG/var/cache/taler
-chown root:$TALER_GID $PKG/var/cache/taler
chmod g+w $PKG/var/cache/taler
mkdir -p $PKG/var/lib/taler
-chown root:$TALER_GID $PKG/var/lib/taler
chmod g+w $PKG/var/lib/taler
mkdir -p $PKG/var/log/taler
-chown root:$TALER_GID $PKG/var/log/taler
chmod g+w $PKG/var/log/taler
(cd $CWD/root && find . -type f -not -path . -exec install -D -m 755 {} "$PKG/{}" \; )
-chown :$TALER_GID $PKG/etc/taler/secrets/exchange-accountcredentials-1.secret.conf.new
-chown :$TALER_EXCHANGE_DB_GID $PKG/etc/taler/secrets/exchange-db.secret.conf.new
-chown :$TALER_EXCHANGE_DB_GID $PKG/etc/taler/secrets/exchange-db.secret.conf.new
chmod -R u=rwX,g=rX,o= $PKG/etc/taler/secrets/*
cd $PKG