Permission denied: File created in .../files
<p>I'm creating a file in data/data/myPackage/files/ :  </p>

<pre><code>file = new File( getFilesDir() + "/file.txt");
</code></pre>

<p>I'm absolutely sure that the file is created.<br>
Right after its creation I call:  </p>

<pre><code>file.canWrite();
</code></pre>

<p>and the result is true.  </p>

<p>When I try to use that file<br>
I get: "Permission Denied".<br>
In Eclipse, in DDMS, this file permissions are like:  </p>

<pre><code>-rw-------
</code></pre>

<p>Can anyone help here?</p>

<p>Thanks</p>
