summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-01-11 16:19:37 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-01-11 16:19:37 -0800
commitdae26c6ac44e9c47cc60fcaa3d04c54d68d66760 (patch)
treeebb403bd7f396d39038073142cacadfae0a3c1b0 /rootdir
parenta33c6ee92b25f6f89ca2044832344d0a6b2ccd11 (diff)
parent3e9c9ac5ee7a36653b90cb86eb6445496b536c16 (diff)
downloadsystem_core-dae26c6ac44e9c47cc60fcaa3d04c54d68d66760.zip
system_core-dae26c6ac44e9c47cc60fcaa3d04c54d68d66760.tar.gz
system_core-dae26c6ac44e9c47cc60fcaa3d04c54d68d66760.tar.bz2
am 3e9c9ac5: am 032afc1d: Merge "Close a security hole - do not give world readable/writable access to /data/drm" into ics-mr1
* commit '3e9c9ac5ee7a36653b90cb86eb6445496b536c16': Close a security hole - do not give world readable/writable access to /data/drm
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc5
1 files changed, 3 insertions, 2 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 21f54d3..b9f111e 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -180,8 +180,9 @@ on post-fs-data
# create the lost+found directories, so as to enforce our permissions
mkdir /data/lost+found 0770 root root
- # create directory for DRM plug-ins
- mkdir /data/drm 0774 drm drm
+ # create directory for DRM plug-ins - give drm the read/write access to
+ # the following directory.
+ mkdir /data/drm 0770 drm drm
# If there is no fs-post-data action in the init.<device>.rc file, you
# must uncomment this line, otherwise encrypted filesystems