Revert "Added the group permissions of the socket file for the multi-user." 95/42195/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 24 Jun 2015 10:11:18 +0000 (03:11 -0700)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 24 Jun 2015 10:11:18 +0000 (03:11 -0700)
This reverts commit 9f4d92d261186b1f0ac7754313e584572ebcb677.

Change-Id: I98e69254ea026c91eef1092f2f5a225def81b9d6

ism/src/scim_socket.cpp

index 3d9a837..38c31cc 100644 (file)
@@ -601,7 +601,7 @@ public:
                 // Set correct permission for the socket file
 #ifdef DISABLE_MULTIPLE_SOCKETS
                 if (m_family == SCIM_SOCKET_LOCAL) {
-                    ::chmod (data_un->sun_path, S_IRUSR | S_IWUSR | S_IROTH | S_IWOTH);
+                    ::chmod (data_un->sun_path, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
                 }
 #else
                 if (m_family == SCIM_SOCKET_LOCAL) {