diff --git a/deepin-daemon-dbus-installer.in b/deepin-daemon-dbus-installer.in index 2a500b2..51d5988 100644 --- a/deepin-daemon-dbus-installer.in +++ b/deepin-daemon-dbus-installer.in @@ -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 diff --git a/deepin-daemon-polkit-installer.in b/deepin-daemon-polkit-installer.in index dabf4aa..5ad6144 100644 --- a/deepin-daemon-polkit-installer.in +++ b/deepin-daemon-polkit-installer.in @@ -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 diff --git a/deepin-daemon.changes b/deepin-daemon.changes index 2f46848..782009d 100644 --- a/deepin-daemon.changes +++ b/deepin-daemon.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Aug 28 14:32:55 UTC 2021 - Hillwood Yang + +- 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