diff --git a/services/init/standard/init.c b/services/init/standard/init.c index 424c8228b..d4b00c046 100755 --- a/services/init/standard/init.c +++ b/services/init/standard/init.c @@ -79,7 +79,7 @@ static int FdHolderSockInit(void) if (lchown(addr.sun_path, 0, 0)) { INIT_LOGW("Failed to change owner of fd holder socket, err = %d", errno); } - mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH; + mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP; if (fchmodat(AT_FDCWD, addr.sun_path, mode, AT_SYMLINK_NOFOLLOW)) { INIT_LOGW("Failed to change mode of fd holder socket, err = %d", errno); } diff --git a/ueventd/etc/ueventd.config b/ueventd/etc/ueventd.config index 7bbf179d9..e7d1bf772 100644 --- a/ueventd/etc/ueventd.config +++ b/ueventd/etc/ueventd.config @@ -34,7 +34,7 @@ /dev/mmz_userdev 0644 1000 1005 /dev/graphics/fb0 0660 1000 1003 /dev/mem 0660 1000 1005 -/dev/ion 0666 1000 1000 +/dev/ion 0664 1000 1000 /dev/btusb0 0660 1002 1002 /dev/uhid 0660 3011 3011 /dev/tc_ns_client 0660 1000 1005