CakePHP. app/Console/cake: Permission denied for root user CakePHP. app/Console/cake: Permission denied for root user shell shell

CakePHP. app/Console/cake: Permission denied for root user


Did you get this solve? I think this could do the trick. (Running the command from your app directory

 chmod +x Console/cake


In CakePHP Version 3 and above this is the right command.

chmod +x bin/cake

This is CakePHP documentation for reference.

Console

The cake executable has been moved from the app/Console directory tothe bin directory within the application skeleton. You can now invokeCakePHP’s console with bin/cake.

Documentation link