From: DoHyun Pyun Date: Tue, 7 May 2013 05:58:37 +0000 (+0900) Subject: Add rule file in accesses.d folder X-Git-Tag: accepted/tizen/20130520.101024^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e3f6f78365511983a97dea3a6e7bc7eca1a6727;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-share.git Add rule file in accesses.d folder Change-Id: I95afc497db595cf5509f837f7db2a9d7daeeabe8 --- diff --git a/bluetooth-share.rule b/bluetooth-share.rule new file mode 100644 index 0000000..bd78ad2 --- /dev/null +++ b/bluetooth-share.rule @@ -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-- diff --git a/bt-share/CMakeLists.txt b/bt-share/CMakeLists.txt index f047030..54342e2 100644 --- a/bt-share/CMakeLists.txt +++ b/bt-share/CMakeLists.txt @@ -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) diff --git a/packaging/bluetooth-share.spec b/packaging/bluetooth-share.spec index 79758e0..be1436b 100644 --- a/packaging/bluetooth-share.spec +++ b/packaging/bluetooth-share.spec @@ -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