emuld : mount permission bug is fixed for sdcard
authorDaiYoung Kim <daiyoung777.kim@samsung.com>
Sun, 14 Apr 2013 12:55:20 +0000 (21:55 +0900)
committerDaiYoung Kim <daiyoung777.kim@samsung.com>
Sun, 14 Apr 2013 12:55:20 +0000 (21:55 +0900)
Signed-off-by : DaiYoung, Kim <daiyoung777.kim@samsung.com>

packaging/emuld.spec
src/emuld.c

index 1e5a89d71369273ae60b3c4c7775a98b16bd7b83..05cbe1869f92989a406eb626f16e6e23308fb136 100644 (file)
@@ -1,6 +1,6 @@
 #git:/slp/pkgs/e/emulator-daemon
 Name: emuld
-Version: 0.2.32
+Version: 0.2.33
 Release: 1
 Summary: emuld is used for communication emulator between and ide.
 License: Apache
index 16470c37d4bab7bbaec47fd4ee9435fd54d37942..f547601f3b7bd629e4c62a362bf84f1dba7b4c43 100644 (file)
@@ -316,6 +316,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");
                                }