Since SMACK only allows three labels, "_"(floor), "User", "System"
The labels of current rule file are not appropriate
Solution:
- Remove rule file (org.tizen.taskmgr.rule)
- Remove install statement about installing rule file described in CMakeLists.txt
- Remove file path and name declaration of spec file (packaging/org.tizen.taskmgr.spec)
Reference site
https://wiki.tizen.org/wiki/Security:SmackThreeDomainModel
Change-Id: I501aa4c076d6aeca8cffb0d0ed75fa6648af1c40
Signed-off-by: seong.chung <seong.chung@samsung.com>
#CONFIGURE_FILE(${PKGNAME}.desktop.in ${CMAKE_BINARY_DIR}/${PKGNAME}.desktop)
INSTALL(FILES ${CMAKE_BINARY_DIR}/${PKGNAME}.xml DESTINATION /usr/share/packages)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/${PKGNAME}.png DESTINATION ${ICONDIR})
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/${PKGNAME}.rule DESTINATION /opt/etc/smack/accesses.d)
#install application HOME directory
INSTALL(DIRECTORY DESTINATION ${DATADIR})
+++ /dev/null
-org.tizen.taskmgr system::homedir rwxat
-org.tizen.taskmgr system::vconf rwxat
-org.tizen.taskmgr system::media rwxat
-org.tizen.taskmgr system::share rwxat
-org.tizen.taskmgr pulseaudio rwxat
-dbus org.tizen.taskmgr rx
-org.tizen.taskmgr xorg rw
-org.tizen.taskmgr ail::db rw
-org.tizen.taskmgr rua::db rw
-org.tizen.taskmgr dbug w
-org.tizen.taskmgr isf r
-aul org.tizen.taskmgr rx
-e17 org.tizen.taskmgr rwx
/opt/usr/apps/org.tizen.taskmgr/data
/usr/share/packages/*
/usr/share/icons/default/small/org.tizen.taskmgr.png
-/opt/etc/smack/accesses.d/org.tizen.taskmgr.rule