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

Commit 1a80414f authored by Christopher Ferris's avatar Christopher Ferris Committed by Automerger Merge Worker
Browse files

Merge "Add executable bit to tests directories." am: bc4944c1

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1821635

Change-Id: Ia9c639c5f26a64a67eb49b80854eb4a909700834
parents 55a4e105 bc4944c1
Loading
Loading
Loading
Loading
+7 −5
Original line number Original line Diff line number Diff line
@@ -776,11 +776,13 @@ on post-fs-data
    # Create directories to push tests to for each linker namespace.
    # Create directories to push tests to for each linker namespace.
    # Create the subdirectories in case the first test is run as root
    # Create the subdirectories in case the first test is run as root
    # so it doesn't end up owned by root.
    # so it doesn't end up owned by root.
    mkdir /data/local/tests 0700 shell shell
    # Set directories to be executable by any process so that debuggerd,
    mkdir /data/local/tests/product 0700 shell shell
    # aka crash_dump, can read any executables/shared libraries.
    mkdir /data/local/tests/system 0700 shell shell
    mkdir /data/local/tests 0701 shell shell
    mkdir /data/local/tests/unrestricted 0700 shell shell
    mkdir /data/local/tests/product 0701 shell shell
    mkdir /data/local/tests/vendor 0700 shell shell
    mkdir /data/local/tests/system 0701 shell shell
    mkdir /data/local/tests/unrestricted 0701 shell shell
    mkdir /data/local/tests/vendor 0701 shell shell


    # create dalvik-cache, so as to enforce our permissions
    # create dalvik-cache, so as to enforce our permissions
    mkdir /data/dalvik-cache 0771 root root encryption=Require
    mkdir /data/dalvik-cache 0771 root root encryption=Require