system/core: vold: Change permission of external storage device nodes
Signed-off-by: San Mehat <san@google.com>
This commit is contained in:
parent
e3baafd85a
commit
85b3fcc5de
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ static blkdev_t *_blkdev_create(blkdev_t *disk, char *devpath, int major,
|
||||||
|
|
||||||
/* Create device nodes */
|
/* Create device nodes */
|
||||||
char nodepath[255];
|
char nodepath[255];
|
||||||
mode_t mode = 0666 | S_IFBLK;
|
mode_t mode = 0660 | S_IFBLK;
|
||||||
dev_t dev = (major << 8) | minor;
|
dev_t dev = (major << 8) | minor;
|
||||||
|
|
||||||
sprintf(nodepath, "%s/vold/%d:%d", DEVPATH, major, minor);
|
sprintf(nodepath, "%s/vold/%d:%d", DEVPATH, major, minor);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue