am 6d51d9ca: system/core: vold: Change permission of external storage device nodes
Merge commit '6d51d9ca81ac2c406f4e20be40a9cddad8362e1a' * commit '6d51d9ca81ac2c406f4e20be40a9cddad8362e1a': system/core: vold: Change permission of external storage device nodes
This commit is contained in:
commit
92b21d5974
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue