Permission denied to create file in Android 6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Permission denied to create file in Android 6

944 Views
aravinthkumarja
Senior Contributor II

Hi All,

I'm using Android 6 in sabresd board. When running a camera application i'm manually copying the buffer from hal layer and saving as file in internal storage. But when i'm doing this i'm getting "permission denied" error on fopen.

How can i proceed this.?  

Regards,

Aravinth

0 Kudos
3 Replies

523 Views
diegoadrian
NXP Employee
NXP Employee

Hello Aravinth

Have you tried to copy the files in root mode? or giving permissions to the files?

Best Regards,

Diego.

0 Kudos

523 Views
aravinthkumarja
Senior Contributor II

Hi Diego,

After sabresd booting it's  in root mode only. I gave permission also to that file.

Regards,

Aravinth

0 Kudos

523 Views
diegoadrian
NXP Employee
NXP Employee

Can you please post an image of your error.

Best Regards,

Diego

0 Kudos