background - symlinking gone wrong from internalsd to externalsd on android 7, that makes the CrypticFolderName inaccessible to the app that needs it.


i'm at terminal via ADB i get:

cd CrypticFolderName  
/system/bin/sh: cd: /sdcard/tencent/micromsg/CrypticFolderName: Permission denied  

as SU:

chmod -R 777 CrypticFolderName  
chmod -R 777 CrypticFolderName  
chmod: No CrypticFolderName: Permission denied  
:/storage/emulated/0/tencent/MicroMsg #  

but if i do ls -la on the folder above in the tree, the CrypticFolderName is listed with the same permissions as the rest of the folders, that are accessible.

drwxrwx--x 26 root sdcard_rw 4096 2017-12-12 12:16 CrypticFolderName

what to try next? or - do i need to format the partition that the sdcard is on? which partition is it on? does TWRP wipe do a format?

  • Could the issue be case sensitivity - I notice that the path refers to MicroMsg while the error referred to micromsg - Some disk formats are case sensitive. – davidgo Dec 15 '17 at 9:15
  • doubt it, as the chmod is issued when already navigated to that directory. – zdoe Dec 17 '17 at 2:08

not really an answer, but i ended up resolving the issue by reformatting the data partition on the phone and restoring the data on to it with the help of TWRP. the wrong permission / dead symlink / whatnot got removed and was not present in the TWRP backup.

this thread pointed me there: https://forum.xda-developers.com/g5/help/please-xt1675-stock-fastbboot-firmware-t3692083/page2#post74872938

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.