diff options
| author | 2016-04-25 20:24:14 +0100 | |
|---|---|---|
| committer | 2016-04-25 20:35:08 +0100 | |
| commit | b25a17b3eacb9fe27e1d65e1b4b9136dbcd0c112 (patch) | |
| tree | 657510caf2442c862c4f2b48c4d3e260f1024253 | |
| parent | 4a5d8570c7941b9838a4719c3a6efe511f48fb42 (diff) | |
Clarifies that filesystem permission 0700 is not enforced as an invariant
The 0700 permission on apps' home directories is not
enforced as a invariant. This change to the behavior
changes documentation reflects this.
Change-Id: I2257796b804574f3c6c7d273957625f4458fe81b
| -rw-r--r-- | docs/html/preview/behavior-changes.jd | 10 |
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 |