OSError: [Error 1] Operation not permitted

You could try (from the command line, but I’m sure there’s a syntax in python):

sudo chown your_username:your_groupname filename

Note: The group is usually just your username.
I feel like there’s something wrong with those permissions though. Read Write Execute for everyone seems to be off. How was this file created? How did it get to be created by the user nobody?

Leave a Comment