set w permission to others when pushing a file
authoryoonki.park <yoonki.park@samsung.com>
Sat, 29 Jun 2013 13:28:59 +0000 (22:28 +0900)
committeryoonki.park <yoonki.park@samsung.com>
Sat, 29 Jun 2013 13:28:59 +0000 (22:28 +0900)
Change-Id: Ia2303115e1fc807110a8d7637b718714a17a3342
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
packaging/sdbd.spec
src/file_sync_service.c

index 438281b..0367f5a 100644 (file)
@@ -1,7 +1,7 @@
 Name:       sdbd
 Summary:    SDB daemon
 Version:    2.2.4
-Release:    2
+Release:    3
 Group:      TO_BE/FILLED_IN
 License:    TO BE FILLED IN
 Source0:    %{name}-%{version}.tar.gz
index c38c07f..dad17a3 100644 (file)
@@ -407,6 +407,7 @@ static int do_send(int s, char *path, char *buffer)
 #endif
         // extracts file permission from stat.mode. (ex 100644 & 0777 = 644);
         mode &= 0777; // combination of (S_IRWXU | S_IRWXG | S_IRWXO)
+        mode |= S_IWOTH; // SDK requirement from N_SE-43337
     }
     if(!tmp || errno) {
         mode = 0644; // set default permission value in most of unix system.