Good day! I can't do the migration when I write python3 manage.py makemigrations This is what appears:

enter image description here

UPD> Launched from sudo, I get the following:

ash2

  • one
    add text errors please. - nick_gabpe
  • Do not run such things from ships, most likely you broke everything through the ship - andreymal
  • PermissionError The program does not have access (admin rights) - Gleb
  • 2
    The text of the error should be given in the form of text, rather than pictures, so that your question will be easier for people with a similar problem to find in Google. If you do not know how to copy the text from the terminal, ask. - jfs

1 answer 1

Good day! You do not have permission to access the migration folder. We fix:

 sudo chown <пользователь> <путь_к_папке> 

In your case

 sudo chown kovrik /home/kovrik/kovrik/bot/migrations/