Apply new smack
authorbyungjai.im <byungjai.im@samsung.com>
Fri, 3 May 2013 08:45:48 +0000 (17:45 +0900)
committerbyungjai.im <byungjai.im@samsung.com>
Fri, 3 May 2013 08:45:48 +0000 (17:45 +0900)
CMakeLists.txt
packaging/ug-memo-efl.spec
ug.memo-efl.include [new file with mode: 0644]

index 559f267..b4fcfbb 100644 (file)
@@ -73,6 +73,7 @@ INSTALL(FILES ${CMAKE_BINARY_DIR}/memo.edj DESTINATION ${EDJDIR})
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/images/01_header_icon_add.png DESTINATION ${ICONDIR})
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/images/01_header_icon_cancel.png DESTINATION ${ICONDIR})
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/images/01_header_icon_done.png DESTINATION ${ICONDIR})
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/ug.memo-efl.include DESTINATION  /etc/smack/accesses2.d)
 
 ADD_SUBDIRECTORY(po)
 ADD_SUBDIRECTORY(theme)
index 69f2dd8..fe476a7 100644 (file)
@@ -42,5 +42,7 @@ rm -rf %{buildroot}
 
 
 %files
+%manifest ug-memo-efl.manifest
 %defattr(-,root,root,-)
 /usr/ug/*
+/etc/smack/accesses2.d/ug.memo-efl.include
\ No newline at end of file
diff --git a/ug.memo-efl.include b/ug.memo-efl.include
new file mode 100644 (file)
index 0000000..f6a6fc6
--- /dev/null
@@ -0,0 +1,17 @@
+ ##### all permissions #########
+$1 system::vconf rwxat
+$1 system::home rwxat
+$1 system::media rwxat
+$1 system::homedir rwxat
+$1 pulseaudio rwxat
+
+# system
+$1 device::app_logging w
+
+
+# db
+$1 memo::db rw
+
+
+
+