CakePHP bin/cake: Permission denied error in terminal/cmd
Sometimes when we try to run commands on our server or on linux system , terminal gives error like bin/cake: Permission denied and even if we logged in as a root user, still its gives error.
To solve this error please run below command, that will give permission to bin/cake folder
chmod +x bin/cake
The above command will work for CakePHP 3 and 4 , and if you are using old version then try to run below command
chmod +x Console/cake
After running above commands , CakePHP will allow to run commands through terminal
Thank you
Besides the platforms already mentioned, Java is also used to develop software for Linux, Mac OS X, Solaris, embedded systems and even games consoles. To apply for remote java developer jobs, one must know these. Anyway, thanks for the informative blog. This would be helpful for beginners in Java.
ReplyDelete