fixed file missing bug when root on mode
authoryoonki.park <yoonki.park@samsung.com>
Sun, 30 Jun 2013 14:15:29 +0000 (23:15 +0900)
committeryoonki.park <yoonki.park@samsung.com>
Sun, 30 Jun 2013 14:15:29 +0000 (23:15 +0900)
Change-Id: I470cba73cffc7fcfe1f5eb50242f6e580ac262a8
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
packaging/sdbd.spec
src/services.c

index 0367f5a..6ddc622 100644 (file)
@@ -1,7 +1,7 @@
 Name:       sdbd
 Summary:    SDB daemon
 Version:    2.2.4
-Release:    3
+Release:    4
 Group:      TO_BE/FILLED_IN
 License:    TO BE FILLED IN
 Source0:    %{name}-%{version}.tar.gz
index 4cb3309..3a6588e 100644 (file)
@@ -562,11 +562,15 @@ static int create_syncproc_thread()
 {
     int ret_fd;
 
+    ret_fd = create_sync_subprocess(file_sync_service, NULL);
+    // FIXME: file missing bug when root on mode
+    /*
     if (should_drop_privileges()) {
         ret_fd = create_sync_subprocess(file_sync_service, NULL);
     } else {
         ret_fd = create_service_thread(file_sync_service, NULL);
     }
+    */
 
     return ret_fd;
 }