ADB 'su' command returns 'su: permission denied' on a fully rooted device in recovery mode. I can modify folders and files that require root access on phone (when it's booted). ADB also works when it's booted - I only need to confirm a superuser pop-up on the phone.
USB debugging is enabled.
What can the problem be?