change smack rule file using private rule file
authorHyungdeuk Kim <hd3.kim@samsung.com>
Tue, 7 May 2013 10:38:54 +0000 (19:38 +0900)
committerHyungdeuk Kim <hd3.kim@samsung.com>
Tue, 7 May 2013 10:38:54 +0000 (19:38 +0900)
CMakeLists.txt
org.tizen.app-selector.rule
packaging/org.tizen.app-selector.spec

index a8821bb..230c461 100755 (executable)
@@ -66,7 +66,7 @@ CONFIGURE_FILE(${PKGNAME}.xml.in ${CMAKE_BINARY_DIR}/${PKGNAME}.xml)
 INSTALL(FILES ${CMAKE_BINARY_DIR}/${PKGNAME}.xml DESTINATION /usr/share/packages)
 
 # install smack rule
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.app-selector.rule DESTINATION /etc/smack/accesses2.d)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.app-selector.rule DESTINATION /opt/etc/smack/accesses.d)
 
 # i18n
 ADD_SUBDIRECTORY(po)
index fb481cc..16b58d0 100644 (file)
@@ -1,18 +1,18 @@
-org.tizen.app-selector system::homedir rwxat
-org.tizen.app-selector system::vconf rwxat
-org.tizen.app-selector system::media rwxat
-org.tizen.app-selector system::share rwxat
-org.tizen.app-selector system::use_internet r
-org.tizen.app-selector pulseaudio rwxat
-org.tizen.app-selector sys-assert::core rwxat
-org.tizen.app-selector xorg rw
-org.tizen.app-selector isf r
-org.tizen.app-selector syslogd w
-org.tizen.app-selector ail::db rw
-org.tizen.app-selector net.wifi-qs x
-org.tizen.app-selector sound_server rw
-org.tizen.app-selector dbus r
-e17 org.tizen.app-selector w
-stest-service org.tizen.app-selector rx
-org.tizen.app-selector stest-service w
-org.tizen.app-selector app-svc::db rw
+com.samsung.app-selector system::homedir rwxat
+com.samsung.app-selector system::vconf rwxat
+com.samsung.app-selector system::media rwxat
+com.samsung.app-selector system::share rwxat
+com.samsung.app-selector system::use_internet r----
+com.samsung.app-selector pulseaudio rwxat
+com.samsung.app-selector sys-assert::core rwxat
+com.samsung.app-selector xorg rw---
+com.samsung.app-selector isf r----
+com.samsung.app-selector syslogd -w---
+com.samsung.app-selector ail::db rw---
+com.samsung.app-selector net.wifi-qs --x--
+com.samsung.app-selector sound_server rw---
+com.samsung.app-selector dbus r----
+e17 com.samsung.app-selector -w---
+stest-service com.samsung.app-selector r-x--
+com.samsung.app-selector stest-service -w---
+com.samsung.app-selector app-svc::db rw---
index bd0908a..e5a762b 100755 (executable)
@@ -1,7 +1,7 @@
 Name:       org.tizen.app-selector
 Summary:    Application selector
 Version:    0.1.0
-Release:    86
+Release:    87
 Group:      TO_BE/FILLED_IN
 License:    Flora Software License
 Source0:    %{name}-%{version}.tar.gz
@@ -50,4 +50,4 @@ rm -rf %{buildroot}
 /usr/share/edje/app-selector/app-selector.edj
 /usr/share/packages/org.tizen.app-selector.xml
 /usr/share/locale/*/LC_MESSAGES/*.mo
-/etc/smack/accesses2.d/org.tizen.app-selector.rule
+/opt/etc/smack/accesses.d/org.tizen.app-selector.rule