I have a CGI script that is getting an \"IOError: [Errno 13] Permission denied\" error in the stack trace in the web server\'s error log.
\"IOError: [Errno 13] Permission denied\"
As part of deb
You can use the following piece of code:
import os print(os.getegid())