From: Goo Lee Date: Tue, 7 May 2013 14:27:46 +0000 (+0900) Subject: [Request]Update smack rule X-Git-Tag: submit/tizen_2.1/20130514.053557^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b8bb2d947cf89a26eaa572763dcb1498725a2769;p=apps%2Fcore%2Fpreloaded%2Fcalculator.git [Request]Update smack rule --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 1614838..8a401d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -108,4 +108,4 @@ install(FILES ${CMAKE_SOURCE_DIR}/org.tizen.calculator.xml DESTINATION /usr/shar install(FILES ${CMAKE_SOURCE_DIR}/org.tizen.calculator.png DESTINATION /usr/share/icons/default/small) # rule file -install(FILES ${CMAKE_SOURCE_DIR}/org.tizen.calculator.rule DESTINATION /etc/smack/accesses2.d/) +install(FILES ${CMAKE_SOURCE_DIR}/org.tizen.calculator.rule DESTINATION /opt/etc/smack/accesses.d/) diff --git a/org.tizen.calculator.rule b/org.tizen.calculator.rule index dcd59ff..be46ca5 100644 --- a/org.tizen.calculator.rule +++ b/org.tizen.calculator.rule @@ -1,20 +1,18 @@ -org.tizen.calculator org.tizen.indicator rw -org.tizen.calculator sound_server rw -org.tizen.calculator dbus r -org.tizen.calculator org.tizen.clock rx -org.tizen.calculator pulseaudio wx -org.tizen.calculator ail::db rw +org.tizen.calculator org.tizen.indicator rw--- +org.tizen.calculator sound_server rw--- +org.tizen.calculator dbus r---- +org.tizen.calculator org.tizen.clock r-x-- +org.tizen.calculator pulseaudio rwxat +org.tizen.calculator ail::db rw--- org.tizen.calculator system::vconf rwxat org.tizen.calculator system::homedir rwxat -org.tizen.calculator sound_server r org.tizen.calculator system::media rwxat org.tizen.calculator system::share rwxat -org.tizen.calculator pulseaudio rwxat -org.tizen.calculator svi-data rx -org.tizen.calculator xorg rw -org.tizen.calculator system::use_internet r -org.tizen.calculator isf rwx -org.tizen.calculator immvibed rw +org.tizen.calculator svi-data r-x-- +org.tizen.calculator xorg rw--- +org.tizen.calculator system::use_internet r---- +org.tizen.calculator isf rwx-- +org.tizen.calculator immvibed rw--- org.tizen.calculator sys-assert::core rwxat -org.tizen.app-tray org.tizen.calculator rx -e17 org.tizen.calculator w +org.tizen.app-tray org.tizen.calculator r-x-- +e17 org.tizen.calculator -w--- diff --git a/packaging/org.tizen.calculator.spec b/packaging/org.tizen.calculator.spec index 86f38aa..5ab0579 100644 --- a/packaging/org.tizen.calculator.spec +++ b/packaging/org.tizen.calculator.spec @@ -44,7 +44,7 @@ rm -rf %{buildroot} %files %manifest org.tizen.calculator.manifest -/etc/smack/accesses2.d/org.tizen.calculator.rule +/opt/etc/smack/accesses.d/org.tizen.calculator.rule %defattr(-,root,root,-) %attr(-,inhouse,inhouse) /usr/apps/org.tizen.calculator/bin/calculator