Permission denied in /data My phone is getting out of storage space warnings and most of this is due to log files in /data that I cannot get to.   

I'm using CyanogenMod and use Terminal to gain shell access.  Issue su in the root filesystem,  cd data, then ls.   That's when I get permission denied.


Screenshot (click for larger variant)

What do I need to do to gain permission to clear out these large, inaccessible log files?
You're not even operating as root - the symbol before each command is still $ instead of #. Double check the root-related options in Developer options - allow root for shell.