-bash: ./manage.py: Permission denied

痞子三分冷 提交于 2019-11-27 00:06:12

You need to make manage.py executable to excecute it. Do chmod +x manage.py to make it excecutable. Alternately you can do python manage.py <cmd> instead.

Bamara Coulibaly

To give yourself execute permission for the file containing the script use the command:

chmod u+rwx filename.py

To give other users permission to read and execute but not alter the shell script use:

chmod go+rx filename.py

reference http://unixhelp.ed.ac.uk/scrpt/scrpt1.2.html

i typed su root space after root and it worked root was my admin passwd then the cmd after with a space after the admin pswd

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!