Add rule file in accesses.d folder tizen_2.1 submit/tizen_2.1/20130514.051401
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 7 May 2013 05:58:37 +0000 (14:58 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Fri, 10 May 2013 09:05:26 +0000 (18:05 +0900)
Change-Id: I95afc497db595cf5509f837f7db2a9d7daeeabe8

bluetooth-share.rule [new file with mode: 0644]
bt-share/CMakeLists.txt
packaging/bluetooth-share.spec

diff --git a/bluetooth-share.rule b/bluetooth-share.rule
new file mode 100644 (file)
index 0000000..bd78ad2
--- /dev/null
@@ -0,0 +1,25 @@
+bt_share system::homedir rwxat
+bt_share system::vconf rwxat
+bt_share system::media rwxat
+bt_share system::share rwxat
+bt_share sys-assert::core rwxat
+bt_share pulseaudio rwxat
+e17 bt_share -w---
+bt_share ail::db rw---
+bt_share dbus rwx--
+bt_share media-server -w---
+bt_share notification::db rw---
+bt_share power_manager -w---
+bt_share mdm-server -w---
+bt_share csc-manager --x--
+bt_share ug_bluetooth r----
+bt_share bt_share::db rw---
+bt_share media-data::db rw---
+bt_share contacts-service -wx--
+bt_share calendar-service -wx--
+bt_share syspopup::db rw---
+bt_share deviced rwx--
+media-server bt_share -w---
+dbus bt_share rwx--
+obexd bt_share rwx--
+deviced bt_share rwx--
index f047030..54342e2 100644 (file)
@@ -47,5 +47,5 @@ TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS} -L${CMAKE_CURRENT_SOURCE_D
 
 
 INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR})
-
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/bluetooth-share.rule DESTINATION /opt/etc/smack/accesses.d)
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/org.bluetooth.share.service DESTINATION share/dbus-1/services)
index 79758e0..be1436b 100644 (file)
@@ -122,6 +122,7 @@ fi
 
 %files
 %manifest bluetooth-share.manifest
+/opt/etc/smack/accesses.d/bluetooth-share.rule
 %defattr(-,root,root,-)
 %{_bindir}/bluetooth-share
 %{_datadir}/dbus-1/services/org.bluetooth.share.service