From 6d51d9ca81ac2c406f4e20be40a9cddad8362e1a Mon Sep 17 00:00:00 2001 From: San Mehat Date: Fri, 21 Aug 2009 08:16:56 -0700 Subject: [PATCH] system/core: vold: Change permission of external storage device nodes Signed-off-by: San Mehat --- vold/blkdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vold/blkdev.c b/vold/blkdev.c index 1482a1ac0..e10eafc80 100644 --- a/vold/blkdev.c +++ b/vold/blkdev.c @@ -219,7 +219,7 @@ static blkdev_t *_blkdev_create(blkdev_t *disk, char *devpath, int major, /* Create device nodes */ char nodepath[255]; - mode_t mode = 0666 | S_IFBLK; + mode_t mode = 0660 | S_IFBLK; dev_t dev = (major << 8) | minor; sprintf(nodepath, "%s/vold/%d:%d", DEVPATH, major, minor);