Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[ssu] Revert "Protect SSU dbus interface with sailfish-system group."…
… Contributes to JB#47997

This reverts commit 645745b.
  • Loading branch information
abranson authored and mkosola committed Nov 20, 2019
1 parent 4a8a969 commit 113c4f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dbus/org.nemo.ssu.conf
Expand Up @@ -8,7 +8,7 @@
<allow send_destination="org.nemo.ssu" send_interface="org.nemo.ssu"/>
</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.freedesktop.DBus.Introspectable"/>
<allow send_destination="org.nemo.ssu" send_interface="org.freedesktop.DBus.Peer"/>
Expand Down
3 changes: 2 additions & 1 deletion rpm/ssu.spec
Expand Up @@ -17,7 +17,6 @@ BuildRequires: pkgconfig(libshadowutils)
BuildRequires: pkgconfig(connman-qt5)
BuildRequires: oneshot
BuildRequires: doxygen
Requires(pre): sailfish-setup
Requires(pre): shadow-utils
Requires(pre): /usr/bin/groupadd-user
Requires(postun): shadow-utils
Expand Down Expand Up @@ -193,6 +192,8 @@ cd .. && cp -R doc/html/* %{buildroot}/%{_docdir}/%{name}/


%pre
groupadd -rf ssu
groupadd-user ssu
if [ -f /etc/ssu/ssu.ini ]; then
chgrp ssu /etc/ssu/ssu.ini
chmod 664 /etc/ssu/ssu.ini
Expand Down

0 comments on commit 113c4f0

Please sign in to comment.