aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-01-11 16:18:16 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-01-11 16:18:16 -0800
commitd95c6152197cf3976797267ad40e61b7344933de (patch)
tree592cc916642c69a9b09adc5fdc14e9f9f919b15e /rootdir
parent95ec1ca90361c6e3509637565b98ea8c8dca14de (diff)
parent032afc1d52289f486538c9ed53f17b9889ea94df (diff)
downloadsystem_core-d95c6152197cf3976797267ad40e61b7344933de.tar.gz
system_core-d95c6152197cf3976797267ad40e61b7344933de.tar.bz2
system_core-d95c6152197cf3976797267ad40e61b7344933de.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')
-rw-r--r--rootdir/init.rc5
1 files changed, 3 insertions, 2 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 2ad1c218..a1a26685 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