summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Janis Danisevskis <jdanis@google.com> 2016-05-02 08:03:54 +0000
committer android-build-merger <android-build-merger@google.com> 2016-05-02 08:03:54 +0000
commitd92fe240b9811bd1b20af0b744f1aa727c80b97c (patch)
tree3dc0ba18472f60afa3701df2a8be349738a6f8c5
parent935c4835aca0507b57d8d5aee7e5b544d4856f32 (diff)
parent73813c06cd59a94fe53483b657fa58e954c97551 (diff)
Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs
am: 73813c06cd * commit '73813c06cd59a94fe53483b657fa58e954c97551': Clarifies that filesystem permission 0700 is not enforced as an invariant Change-Id: I92bcad43201a90273af9428a1a0a97e7e66b03bb
-rw-r--r--docs/html/preview/behavior-changes.jd10
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/html/preview/behavior-changes.jd b/docs/html/preview/behavior-changes.jd
index 0cf5bc9de6f2..7c8bfe8ba29e 100644
--- a/docs/html/preview/behavior-changes.jd
+++ b/docs/html/preview/behavior-changes.jd
@@ -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