Commit 113c4f0d authored by Andrew Branson's avatar Andrew Branson Committed by Matti Kosola

[ssu] Revert "Protect SSU dbus interface with sailfish-system group." Contributes to JB#47997

This reverts commit 645745b7.
parent 4a8a9694
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<allow send_destination="org.nemo.ssu" send_interface="org.nemo.ssu"/> <allow send_destination="org.nemo.ssu" send_interface="org.nemo.ssu"/>
</policy> </policy>
<policy group="sailfish-system"> <policy group="system">
<allow send_destination="org.nemo.ssu" send_interface="org.nemo.ssu"/> <allow send_destination="org.nemo.ssu" send_interface="org.nemo.ssu"/>
<allow send_destination="org.nemo.ssu" send_interface="org.freedesktop.DBus.Introspectable"/> <allow send_destination="org.nemo.ssu" send_interface="org.freedesktop.DBus.Introspectable"/>
<allow send_destination="org.nemo.ssu" send_interface="org.freedesktop.DBus.Peer"/> <allow send_destination="org.nemo.ssu" send_interface="org.freedesktop.DBus.Peer"/>
......
...@@ -17,7 +17,6 @@ BuildRequires: pkgconfig(libshadowutils) ...@@ -17,7 +17,6 @@ BuildRequires: pkgconfig(libshadowutils)
BuildRequires: pkgconfig(connman-qt5) BuildRequires: pkgconfig(connman-qt5)
BuildRequires: oneshot BuildRequires: oneshot
BuildRequires: doxygen BuildRequires: doxygen
Requires(pre): sailfish-setup
Requires(pre): shadow-utils Requires(pre): shadow-utils
Requires(pre): /usr/bin/groupadd-user Requires(pre): /usr/bin/groupadd-user
Requires(postun): shadow-utils Requires(postun): shadow-utils
...@@ -193,6 +192,8 @@ cd .. && cp -R doc/html/* %{buildroot}/%{_docdir}/%{name}/ ...@@ -193,6 +192,8 @@ cd .. && cp -R doc/html/* %{buildroot}/%{_docdir}/%{name}/
%pre %pre
groupadd -rf ssu
groupadd-user ssu
if [ -f /etc/ssu/ssu.ini ]; then if [ -f /etc/ssu/ssu.ini ]; then
chgrp ssu /etc/ssu/ssu.ini chgrp ssu /etc/ssu/ssu.ini
chmod 664 /etc/ssu/ssu.ini chmod 664 /etc/ssu/ssu.ini
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment