Remove calling chmod() 06/72906/1
authorJunghoon Park <jh9216.park@samsung.com>
Fri, 3 Jun 2016 04:12:35 +0000 (13:12 +0900)
committerJunghoon Park <jh9216.park@samsung.com>
Fri, 3 Jun 2016 04:12:35 +0000 (13:12 +0900)
 - We don't need to allow permissions for groups and others any more

Change-Id: If08062de7a2a8914744130b8f7fb5c6080748321
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
src/launchpad.c

index 17a26f5..fad964a 100755 (executable)
@@ -262,12 +262,6 @@ static int __listen_candidate_process(int type, int loader_id)
                goto error;
        }
 
-       _D("chmod %s", addr.sun_path);
-       if (chmod(addr.sun_path, (S_IRWXU | S_IRWXG | S_IRWXO)) < 0) {
-               _E("chmod error");
-               goto error;
-       }
-
        _D("listen to %s", addr.sun_path);
        if (listen(fd, MAX_PENDING_CONNECTIONS) == -1) {
                _E("listen error");