aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir/init.rc
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-01-11 16:18:11 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-01-11 16:18:11 -0800
commit3e9c9ac5ee7a36653b90cb86eb6445496b536c16 (patch)
tree80df32e65fe8155ae9b63bd280845e6def58d300 /rootdir/init.rc
parente0b557915123b7ad022ff5d0a7a3d4dd2ee7c2fe (diff)
parent032afc1d52289f486538c9ed53f17b9889ea94df (diff)
downloadsystem_core-3e9c9ac5ee7a36653b90cb86eb6445496b536c16.tar.gz
system_core-3e9c9ac5ee7a36653b90cb86eb6445496b536c16.tar.bz2
system_core-3e9c9ac5ee7a36653b90cb86eb6445496b536c16.zip
am 032afc1d: Merge "Close a security hole - do not give world readable/writable access to /data/drm" into ics-mr1
* commit '032afc1d52289f486538c9ed53f17b9889ea94df': Close a security hole - do not give world readable/writable access to /data/drm
Diffstat (limited to 'rootdir/init.rc')
-rw-r--r--rootdir/init.rc5
1 files changed, 3 insertions, 2 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 1e3ed8c0..290e3759 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -177,8 +177,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