From e5c645c6175822df66144d7eef7a56a6667db204 Mon Sep 17 00:00:00 2001 From: Vince Leung Date: Mon, 3 Nov 2014 15:02:55 -0800 Subject: [PATCH] init.qcom.rc: grant world read and execute perms to perfd socket Grant world read and execute permissions to perfd socket directory to allow apps to write into the socket file in that directory Change-Id: I53e7645001c1163ef2971e93453dbdaba6fe475d --- rootdir/etc/init.qcom.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 61245aed..b4529be3 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -105,8 +105,8 @@ on boot chmod 2770 /dev/socket/qmux_gps #Create PERFD deamon related dirs - mkdir /data/misc/perfd 0770 root system - chmod 2770 /data/misc/perfd + mkdir /data/misc/perfd 0755 root system + chmod 2755 /data/misc/perfd mkdir /data/system/perfd 0770 root system chmod 2770 /data/system/perfd