Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 820571f4 authored by Nick Kralevich's avatar Nick Kralevich Committed by Android (Google) Code Review
Browse files

Merge "init.rc: Add documentation"

parents 9d4dbf48 f3ef1271
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
# Copyright (C) 2012 The Android Open Source Project
#
# IMPORTANT: Do not create world writable files or directories.
# This is a common source of Android security bugs.
#

import /init.${ro.hardware}.rc

on early-init
@@ -163,6 +169,9 @@ on post-fs-data
    mkdir /data/misc/wifi 0770 wifi wifi
    chmod 0660 /data/misc/wifi/wpa_supplicant.conf
    mkdir /data/local 0751 root root

    # For security reasons, /data/local/tmp should always be empty.
    # Do not place files or directories in /data/local/tmp
    mkdir /data/local/tmp 0771 shell shell
    mkdir /data/data 0771 system system
    mkdir /data/app-private 0771 system system