Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs am: 73813c06cd am: d92fe240b9

am: 38d54f72e3

* commit '38d54f72e3795eb67eceacf5325b14a13492b25d':
  Clarifies that filesystem permission 0700 is not enforced as an invariant

Change-Id: I12d68857f2fed0bb62b040df4193fc00cc97f500
This commit is contained in:
Janis Danisevskis
2016-05-02 08:12:08 +00:00
committed by android-build-merger

View File

@@ -215,11 +215,17 @@ page.image=images/cards/card-n-changes_2x.png
<ul> <ul>
<li> <li>
Private files’ file permissions can no longer be relaxed by the owner, and Private files’ file permissions should no longer be relaxed by the owner,
an attempt to do so using and an attempt to do so using
{@link android.content.Context#MODE_WORLD_READABLE} and/or {@link android.content.Context#MODE_WORLD_READABLE} and/or
{@link android.content.Context#MODE_WORLD_WRITEABLE}, will trigger a {@link android.content.Context#MODE_WORLD_WRITEABLE}, will trigger a
{@link java.lang.SecurityException}. {@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>
<li> <li>
Passing <code>file://</code> URIs outside the package domain may leave the Passing <code>file://</code> URIs outside the package domain may leave the