Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e36c153e authored by San Mehat's avatar San Mehat Committed by Jean-Baptiste Queru
Browse files

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



Signed-off-by: default avatarSan Mehat <san@google.com>
parent 227c74af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);