Hi,
I have a need to have my C library to create subdirectories under the /data/data/package/files folder. My library attempts to use mkdir() , but it fails with errno 13 (Permission denied). DOes teh C library inherits the same permission from Java? I have sucessfully written stuff into the files folder from Java, but never attempted to create a directory from Java; Any ideas?
Luiz
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
Absolutely! Your question about mode lead me to the solution. Thanks!
The mkdir() function has a mode argument. I was not using it.
On Sep 10, 2011 3:28 PM, "charles" <csbo...@gmail.com> wrote:
>
> What exactly was the solution?
>
> --
> You received this message because you are subscribed to the Google Groups "android-ndk" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/jSh9bL9zrmcJ.
>
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
On Sep 10, 2011 3:28 PM, "charles" <csbo...@gmail.com> wrote:
>
> What exactly was the solution?
>
> --
> You received this message because you are subscribed to the Google Groups "android-ndk" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/jSh9bL9zrmcJ.