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

Commit edb1420a authored by Janis Danisevskis's avatar Janis Danisevskis Committed by android-build-merger
Browse files

Merge "Clarifies that filesystem permission 0700 is not enforced as an...

Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs am: 73813c06 am: d92fe240 am: 38d54f72 am: e0e6cf8e
am: 390a994f

* commit '390a994f':
  Clarifies that filesystem permission 0700 is not enforced as an invariant

Change-Id: I4787267e8820c077d377ef1da4e48fe0bb3e6d5c
parents c5d1f800 390a994f
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -215,11 +215,17 @@ page.image=images/cards/card-n-changes_2x.png

<ul>
  <li>
    Private files’ file permissions can no longer be relaxed by the owner, and
    an attempt to do so using
    Private files’ file permissions should no longer be relaxed by the owner,
    and an attempt to do so using
    {@link android.content.Context#MODE_WORLD_READABLE} and/or
    {@link android.content.Context#MODE_WORLD_WRITEABLE}, will trigger a
    {@link java.lang.SecurityException}.
    <p class="note">
      <strong>Note:</strong> As of yet, this restriction is not fully enforced.
      Apps may still modify permissions to their private directory using
      native APIs or the {@link java.io.File File} API. However, we strongly
      discourage relaxing the permissions to the private directory.
    </p>
  </li>
  <li>
    Passing <code>file://</code> URIs outside the package domain may leave the