diff options
author | San Mehat <san@google.com> | 2009-08-21 08:16:56 -0700 |
---|---|---|
committer | San Mehat <san@google.com> | 2009-08-21 08:35:54 -0700 |
commit | 6d51d9ca81ac2c406f4e20be40a9cddad8362e1a (patch) | |
tree | 138d0421bf1356b9bd87936e881cde9a175cbd19 /vold | |
parent | 1fd8a8ed0aa641d909e6157ea685ee3d97a81398 (diff) | |
download | core-6d51d9ca81ac2c406f4e20be40a9cddad8362e1a.tar.gz core-6d51d9ca81ac2c406f4e20be40a9cddad8362e1a.tar.bz2 core-6d51d9ca81ac2c406f4e20be40a9cddad8362e1a.zip |
system/core: vold: Change permission of external storage device nodes
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'vold')
-rw-r--r-- | vold/blkdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vold/blkdev.c b/vold/blkdev.c index 1482a1ac0..e10eafc80 100644 --- a/vold/blkdev.c +++ b/vold/blkdev.c @@ -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); |