From: Junghoon Park Date: Thu, 2 Jun 2016 23:54:59 +0000 (+0900) Subject: Remove calling chmod() X-Git-Tag: accepted/tizen/common/20160606.141711^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d527acd1238877bda165479d8359e81855c9895d;p=platform%2Fcore%2Fappfw%2Faul-1.git Remove calling chmod() - We don't need to allow permissions for groups and others any more Change-Id: If3d48503534e9952eac13fa26841f0ac0a48dcc3 Signed-off-by: Junghoon Park --- diff --git a/src/aul_sock.c b/src/aul_sock.c index c927037..d250f3a 100644 --- a/src/aul_sock.c +++ b/src/aul_sock.c @@ -108,13 +108,6 @@ API int aul_sock_create_server(int pid, uid_t uid) return -1; } - if (chmod(saddr.sun_path, (S_IRWXU | S_IRWXG | S_IRWXO)) < 0) { - /* Flawfinder: ignore*/ - _E("failed to change the socket permission"); - close(fd); - return -1; - } - __set_sock_option(fd, 0); if (listen(fd, 128) == -1) {