Home > Mobile >  The Android 6.0 the permissions to read and write, EPERM (Operation not permitted)
The Android 6.0 the permissions to read and write, EPERM (Operation not permitted)

Time:09-16

The Android engineering
Development platform: Eclipse
The Project Build Target for Android 4.2.2 (code limits, only 4.2.2),

The compiled to install APK on the Android 6.0 platform,

Error message:
Failed to chmod (/storage/emulated/0/bpdata bpdatabasebak. Db/bpCamera. Db) : android. System. ErrnoException: chmod Failed: EPERM (Operation not permitted)

For several days, no problem, hope to help!

CodePudding user response:

Dynamic apply for permission to try!

CodePudding user response:

Only root access permissions to open, otherwise can only be opened by internal Java built-in function,

CodePudding user response:

reference 1/f, it doesn't matter oh reply:
dynamic apply for permission to try!

Dynamic application, the code is the Android 6.0, the code is 4.2.2. No dynamic application code,

CodePudding user response:

refer to the second floor Cary12 response:
can only open the root access permissions, otherwise can only be opened by internal Java built-in functions,

Android 6.0 boards is said to have opened the ROOT,
By Pshell, can enter the Linux, input chmod 777 without error,

CodePudding user response:

Dynamic application code can't write well, you don't have to write their own a judgment system API version of installation equipment, greater than or equal to 24 applications for read/write permissions for the dynamic ah
  • Related