add W/A for sdcard file permission
authorSooyoung Ha <yoosah.ha@samsung.com>
Sat, 23 Mar 2013 10:51:41 +0000 (19:51 +0900)
committerSooyoung Ha <yoosah.ha@samsung.com>
Sat, 23 Mar 2013 10:51:41 +0000 (19:51 +0900)
emuld.service
packaging/emuld.spec
src/emuld.c

index aa93fbd7a1da86776edb4092936511776e56bf24..2d3110fef93acd7d4912acb2b616255d80b760df 100644 (file)
@@ -1,5 +1,5 @@
 [Unit]
-Description=emuld
+Description=Common control daemon for emulator
 After=multi-user.target
 
 [Service]
index 4547b8b2b0161150f4043430689bed8b5387acb6..d20a8beba605e21ceb49178e95274cedb7dbec37 100644 (file)
@@ -1,6 +1,6 @@
 #git:/slp/pkgs/e/emulator-daemon
 Name: emuld
-Version: 0.2.28
+Version: 0.2.29
 Release: 1
 Summary: emuld is used for communication emulator between and ide.
 License: Apache
index 6b684106f8e83372d2507acc422eb90234fa7551..2bca8492c5c24b0a60caa81246665d75048d04ac 100644 (file)
@@ -271,6 +271,11 @@ void* mount_sdcard(void* data)
                                
                                if(ret == 0)
                                {
+                                       /* W/A for sdcard file permission start */
+                                       system("mkdir -p /opt/storage/sdcard/Camera /opt/storage/sdcard/Downloads /opt/storage/sdcard/Images /opt/storage/sdcard/Sounds /opt/storage/sdcard/Videos");
+                                       system("chown 5000:5000 -R /opt/storage/sdcard");
+                                       /* W/A for sdcard file permission end */
+                                       
                                        system("chmod -R 777 /opt/storage/sdcard");
                                        system("vconftool set -t int memory/sysman/mmc 1 -i -f");
                                }