[Answered ]-Python Celery init.d script OSError: [Errno 1] Operation not permitted

2👍

OSError errno 1 looks like a permissions issue:
OSError: [Error 1] Operation not permitted

Looks like the issue is on os.initgroups, which calls initgroups on the system — see man initgroups

From your prompt it looks like you’re using some sort of role account, I’d guess there is some issue with how your role/group permissions are set up with respect to the files django is accessing.

Edit:
From man initgroups:

DESCRIPTION
   The initgroups() function initializes the group access list by reading
   the group database /etc/group and using all groups of which user is a member.
   The additional group group is also added to the list.

Can community read /etc/group?

Leave a comment