aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir/init.rc
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-01-11 16:16:07 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-01-11 16:16:07 -0800
commit032afc1d52289f486538c9ed53f17b9889ea94df (patch)
treece9e00e7b354a371cc0cb1134f98fa877252c585 /rootdir/init.rc
parent07ad9f2a127b2836c7d45a503a5f3ef7517218f3 (diff)
parent09cdc0ea12598651d1c074974c9b593fd1c0e4ba (diff)
downloadsystem_core-032afc1d52289f486538c9ed53f17b9889ea94df.tar.gz
system_core-032afc1d52289f486538c9ed53f17b9889ea94df.tar.bz2
system_core-032afc1d52289f486538c9ed53f17b9889ea94df.zip
Merge "Close a security hole - do not give world readable/writable access to /data/drm" into ics-mr1
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 145f642f..cad4cd86 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -175,8 +175,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