diff options
| author | Mike Lockwood <lockwood@android.com> | 2009-07-08 18:07:46 -0700 |
|---|---|---|
| committer | The Android Open Source Project <initial-contribution@android.com> | 2009-07-08 18:07:46 -0700 |
| commit | 3338e5511402c395d0f771e16f92a7a95c0cab82 (patch) | |
| tree | e5cddb0767a0972726316e974b4530c0227399fa | |
| parent | eea5ae9cebf3d2fcdae7cfa669a4b0c7ca014bd3 (diff) | |
| parent | 48d116edf9c785ed284626cbe0bbf5c958cf5e67 (diff) | |
| download | system_core-3338e5511402c395d0f771e16f92a7a95c0cab82.zip system_core-3338e5511402c395d0f771e16f92a7a95c0cab82.tar.gz system_core-3338e5511402c395d0f771e16f92a7a95c0cab82.tar.bz2 | |
am 48d116ed: init.rc: Fix commands for allowing the system_server to access wpa_supplicant.conf
Merge commit '48d116edf9c785ed284626cbe0bbf5c958cf5e67'
* commit '48d116edf9c785ed284626cbe0bbf5c958cf5e67':
init.rc: Fix commands for allowing the system_server to access wpa_supplicant.conf
| -rw-r--r-- | rootdir/init.rc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 062957a..799995a 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -79,11 +79,10 @@ loglevel 3 mkdir /data/misc/keystore 0770 keystore keystore mkdir /data/misc/vpn 0770 system system mkdir /data/misc/vpn/profiles 0770 system system - mkdir /data/misc/wifi 0770 wifi system - chown wifi system /data/misc/wifi - touch /data/misc/wifi/wpa_supplicant.conf + # give system access to wpa_supplicant.conf for backup and restore + mkdir /data/misc/wifi 0770 wifi wifi + chmod 0770 /data/misc/wifi chmod 0660 /data/misc/wifi/wpa_supplicant.conf - chown wifi system /data/misc/wifi/wpa_supplicant.conf mkdir /data/local 0771 shell shell mkdir /data/local/tmp 0771 shell shell mkdir /data/data 0771 system system |
