Skip to content
Snippets Groups Projects
Commit 85b3fcc5 authored by San Mehat's avatar San Mehat
Browse files

system/core: vold: Change permission of external storage device nodes


Signed-off-by: default avatarSan Mehat <san@google.com>
parent e3baafd8
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment