diff options
author | hyunuktak <hyunuk.tak@samsung.com> | 2016-08-30 14:08:16 +0900 |
---|---|---|
committer | cheoleun moon <chleun.moon@samsung.com> | 2016-11-11 01:07:43 -0800 |
commit | 3c39ad0c20dd8163ad19c63395531028158e110c (patch) | |
tree | 08ff5d3aaa04a187b6885e5aee878f160f1a774a | |
parent | 0da2c229cbdb47e63043123c691d42a5f47be7af (diff) | |
download | connman-3c39ad0c20dd8163ad19c63395531028158e110c.tar.gz connman-3c39ad0c20dd8163ad19c63395531028158e110c.tar.bz2 connman-3c39ad0c20dd8163ad19c63395531028158e110c.zip |
Change attribute for connmand and set uid/gid into servicesubmit/tizen/20161114.043131accepted/tizen/wearable/20161114.074444accepted/tizen/tv/20161114.074425accepted/tizen/mobile/20161114.074404accepted/tizen/ivi/20161114.074501accepted/tizen/common/20161114.171550
Change-Id: I7c89d697792aff2521a31d1772e696c19313fc44
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
-rwxr-xr-x | packaging/connman.spec | 6 | ||||
-rwxr-xr-x | src/connman.service.in | 4 | ||||
-rwxr-xr-x | vpn/connman-vpn.service.in | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/packaging/connman.spec b/packaging/connman.spec index b37b1358..0f2e5fee 100755 --- a/packaging/connman.spec +++ b/packaging/connman.spec @@ -208,14 +208,14 @@ systemctl daemon-reload %files %manifest connman.manifest -%attr(500,root,root) %{_sbindir}/* +%attr(755,root,root) %{_sbindir}/* %attr(500,root,root) %{_bindir}/connmanctl -%attr(600,root,root) /%{_localstatedir}/lib/connman/settings +%attr(600,network_fw,network_fw) /%{_localstatedir}/lib/connman/settings #%{_libdir}/connman/plugins/*.so %attr(644,root,root) %{_datadir}/dbus-1/system-services/* #%{_datadir}/dbus-1/services/* %{_sysconfdir}/dbus-1/system.d/* -%attr(644,root,root) %{_sysconfdir}/connman/main.conf +%attr(644,network_fw,network_fw) %{_sysconfdir}/connman/main.conf %{_sysconfdir}/dbus-1/system.d/*.conf %attr(644,root,root) %{_libdir}/systemd/system/connman.service %attr(644,root,root) %{_libdir}/systemd/system/multi-user.target.wants/connman.service diff --git a/src/connman.service.in b/src/connman.service.in index 3bc442a5..003b110e 100755 --- a/src/connman.service.in +++ b/src/connman.service.in @@ -9,9 +9,9 @@ BusName=net.connman Restart=on-failure SmackProcessLabel=System ExecStart=@sbindir@/connmand -n --noplugin vpn +User=network_fw +Group=network_fw StandardOutput=null -CapabilityBoundingSet=~CAP_MAC_ADMIN -CapabilityBoundingSet=~CAP_MAC_OVERRIDE [Install] WantedBy=multi-user.target diff --git a/vpn/connman-vpn.service.in b/vpn/connman-vpn.service.in index 6cc59cbc..eb75ae49 100755 --- a/vpn/connman-vpn.service.in +++ b/vpn/connman-vpn.service.in @@ -8,9 +8,9 @@ Type=dbus BusName=net.connman.vpn SmackProcessLabel=System ExecStart=@sbindir@/connman-vpnd -n +User=network_fw +Group=network_fw StandardOutput=null -CapabilityBoundingSet=~CAP_MAC_ADMIN -CapabilityBoundingSet=~CAP_MAC_OVERRIDE [Install] WantedBy=multi-user.target |