Change execute label of pkgcmd to "System" 74/177074/1
authorJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 25 Apr 2018 06:37:42 +0000 (15:37 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 25 Apr 2018 06:39:06 +0000 (15:39 +0900)
- Shell's privilege will be reduced to prevent sending
  dbus signal directly so pkgcmd's execute label should be set
  to work properly.

Change-Id: I5185b8fe45f0c820c5c26a12925b4e47501d7b43
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
packaging/pkgmgr-tool.manifest

index 64f527a..332bf70 100644 (file)
@@ -4,7 +4,7 @@
        </request>
        <assign>
                <filesystem path="/usr/bin/install_preload_pkg" label="System" exec_label="none" />
-               <filesystem path="/usr/bin/pkgcmd" label="User::Shell" exec_label="none" />
+               <filesystem path="/usr/bin/pkgcmd" label="User::Shell" exec_label="System" />
                <filesystem path="/usr/bin/pkg_cleardata" label="System" exec_label="none" />
                <filesystem path="/usr/bin/pkg_getsize" label="System" exec_label="none" />
                <filesystem path="/usr/bin/pkginfo" label="User::Shell" exec_label="none" />