Accepting request 914806 from X11:Deepin:Factory

- Fix a security issue for deepin-daemon-dbus-installer and 
  deepin-daemon-polkit-installer.in, change tmp dir to /root/.cache

OBS-URL: https://build.opensuse.org/request/show/914806
OBS-URL: https://build.opensuse.org/package/show/X11:Deepin/deepin-daemon?expand=0&rev=16
This commit is contained in:
Hillwood Yang 2021-08-29 08:46:02 +00:00 committed by Git OBS Bridge
parent 6db6db76f5
commit 10c9cc27de
3 changed files with 10 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
# Name: Deepin DBus profiles installer
# Version: 1.0
# Version: 1.1
# Description: On openSUSE, deepin-daemon does not install dbus profiles by default
# for security. The tool can help users to install these profiles for getting the
# full features of Deepin Desktop, if user does not care security.
@ -36,7 +36,7 @@ if [ "$ANSWER" = "n" ] || [ "$ANSWER" = "N" ] || [ "$ANSWER" = "no" ] || [ "$ANS
exit 1
fi
SYSTEM_TMP=/tmp
SYSTEM_TMP=/root/.cache
TMP_DIR=$SYSTEM_TMP/deepin-daemon-dbus
pushd /usr/share/dbus-1/system.d/ &>/dev/null

View File

@ -1,6 +1,6 @@
#!/bin/bash
# Name: Deepin polkit profiles installer
# Version: 1.0
# Version: 1.1
# Description: On openSUSE, deepin-daemon does not install polkit profiles by default
# for security. The tool can help users to install these profiles for getting the
# full features of Deepin Desktop, if user does not care security.
@ -36,7 +36,7 @@ if [ "$ANSWER" = "n" ] || [ "$ANSWER" = "N" ] || [ "$ANSWER" = "no" ] || [ "$ANS
exit 1
fi
SYSTEM_TMP=/tmp
SYSTEM_TMP=/root/.cache
TMP_DIR=$SYSTEM_TMP/deepin-daemon-polkit
pushd /usr/share/polkit-1/actions/ &>/dev/null

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Aug 28 14:32:55 UTC 2021 - Hillwood Yang <hillwood@opensuse.org>
- Fix a security issue for deepin-daemon-dbus-installer and
deepin-daemon-polkit-installer.in, change tmp dir to /root/.cache
-------------------------------------------------------------------
Sat Jul 24 07:59:10 UTC 2021 - Hillwood Yang <hillwood@opensuse.org>