Permission denied to create file in Android 6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Permission denied to create file in Android 6

1,857 次查看
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 项奖励
回复
3 回复数

1,436 次查看
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 项奖励
回复

1,436 次查看
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 项奖励
回复

1,436 次查看
diegoadrian
NXP Employee
NXP Employee

Can you please post an image of your error.

Best Regards,

Diego

0 项奖励
回复