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

Commit 9e9f05e5 authored by Stephen Smalley's avatar Stephen Smalley
Browse files

restorecon /data/misc/media.



Otherwise it will be mislabeled on upgrades with existing userdata.

Change-Id: Ibde88d5d692ead45b480bb34cfe0831baeffbf94
Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
parent 37fd839f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -222,6 +222,7 @@ on post-fs-data
    chmod 0660 /data/misc/wifi/wpa_supplicant.conf
    mkdir /data/local 0751 root root
    mkdir /data/misc/media 0700 media media
    restorecon_recursive /data/misc/media

    # Set security context of any pre-existing /data/misc/adb/adb_keys file.
    restorecon /data/misc/adb