Hardcorded storage path (Temp) 25/55725/1 accepted/tizen/mobile/20151229.073310 accepted/tizen/tv/20151229.073331 accepted/tizen/wearable/20151229.073426 submit/tizen/20151229.042337
authorJihoon Jung <jh8801.jung@samsung.com>
Tue, 29 Dec 2015 03:00:03 +0000 (12:00 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Tue, 29 Dec 2015 03:01:57 +0000 (12:01 +0900)
Signed-off-by: Ji-hoon Jung <jh8801.jung@samsung.com>
Change-Id: I2c0f6df7b5449b14efc92a555ab6f9fb79aa0efd

include/mtp_config.h
mtp-responder.service
packaging/mtp-responder.manifest

index 87d7d23..7550f25 100755 (executable)
@@ -77,7 +77,7 @@
  * Transport related configuration
  */
 /* Internal Storage */
-#define MTP_STORE_PATH_CHAR            "/opt/usr/media"
+#define MTP_STORE_PATH_CHAR            "/home/owner/content"
 
 /* External Storage */
 #define MTP_EXTERNAL_PATH_CHAR         "/opt/storage/sdcard"
index 223075d..9fcc7fe 100755 (executable)
@@ -2,9 +2,8 @@
 Description=MTP responder
 
 [Service]
-User=system
-Group=system
-SmackProcessLabel=mtp-responder
+User=owner
+Group=users
 Type=simple
 ExecStart=/usr/bin/mtp-responder
 KillMode=process
index 8d20faf..c00c25b 100755 (executable)
@@ -1,27 +1,5 @@
 <manifest>
-       <define>
-               <domain name="mtp-responder"/>
-               <request>
-                       <smack request="media-server" type="rwx"/>
-                       <smack request="sound-server" type="rwx"/>
-                       <smack request="device::mtp" type="rw"/>
-                       <smack request="device::sys_logging" type="w"/>
-                       <smack request="device::app_logging" type="w"/>
-                       <smack request="system::media" type="rwxat"/>
-                       <smack request="system::homedir" type="rwxat"/>
-                       <smack request="system::share" type="rwxat"/>
-                       <smack request="system::ext_storage" type="rl"/>
-                       <smack request="tizen::vconf::public::r" type="rl"/>
-                       <smack request="tizen::vconf::platform::rw" type="rw"/>
-                       <smack request="tizen::vconf::public::r::platform::rw" type="rl"/>
-                       <smack request="tizen::vconf::setting::admin" type="rl"/>
-                       <smack request="telephony_framework::api_modem" type="rl"/>
-               </request>
-               <permit>
-                       <smack permit="media-server" type="rw"/>
-               </permit>
-       </define>
-       <assign>
-               <filesystem path="/usr/bin/mtp-responder" exec_label="none"/>
-       </assign>
+        <request>
+                <domain name="_" />
+        </request>
 </manifest>