Skip to content

Commit

Permalink
system/core: vold: Change permission of external storage device nodes
Browse files Browse the repository at this point in the history
Signed-off-by: San Mehat <san@google.com>
  • Loading branch information
San Mehat committed Aug 21, 2009
1 parent e3baafd commit 85b3fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vold/blkdev.c
Expand Up @@ -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);
Expand Down

0 comments on commit 85b3fcc

Please sign in to comment.