From 8c82741a502c5038a0975f29e31925d458879825 Mon Sep 17 00:00:00 2001 From: Slack Coder Date: Tue, 12 Mar 2024 16:50:00 -0500 Subject: taler: fix incorrect setting of permissions --- taler-exchange/doinst.sh | 1 - taler-exchange/taler-exchange.SlackBuild | 10 ---------- 2 files changed, 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 -- cgit v1.2.3