Merge "init.qcom.rc: Revised permissions for /storage"

This commit is contained in:
Linux Build Service Account 2014-11-11 07:37:03 -08:00 committed by Gerrit - the friendly Code Review server
commit 9805ca6ae1
1 changed files with 3 additions and 3 deletions

View File

@ -36,9 +36,7 @@ on init
mkdir /persist 0771 system system
# See storage config details at http://source.android.com/tech/storage/
mkdir /mnt/shell/emulated 0700 shell shell
mkdir /storage 0050 system sdcard_r
mkdir /storage/emulated 0555 root root
mkdir /storage/emulated/legacy 0555 root root
mkdir /mnt/media_rw/sdcard1 0700 media_rw media_rw
mkdir /storage/sdcard1 0700 root root
@ -51,6 +49,7 @@ on init
symlink /storage/emulated/legacy /sdcard
symlink /storage/emulated/legacy /mnt/sdcard
symlink /storage/emulated/legacy /storage/sdcard0
symlink /mnt/shell/emulated/0 /storage/emulated/legacy
on early-boot
# set RLIMIT_MEMLOCK to 64MB
@ -750,7 +749,8 @@ service profiler_daemon /system/bin/profiler_daemon
group root
disabled
service sdcard /system/bin/sdcard /data/media /mnt/shell/emulated 1023 1023
# virtual sdcard daemon running as media_rw (1023)
service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated
class late_start
service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard1 /storage/sdcard1