Search code examples
pythondjangolinuxunixdjango-south

./manage.py Permission Denied


I'm trying to migrate my Django app using South and am getting permission denied warning. I'm logged in as root though (I know, risk risk, just trying to get things set-up). Why then does this get rejected?

root@Harold:~/OmniCloud/omnicloud: ./manage.py convert_to_south OmniCloud_App
-bash: ./manage.py: Permission denied

Solution

  • manage.py probably does not have its executable bit set, which is on purpose. Use python manage.py instead as per the Django docs.