[Twisted-Python] Log file ownership

Enrique Samson Jr, enriquejr at gmail.com
Wed Jun 6 20:46:57 EDT 2012


I am running an app as root on Linux using a .tac file and twistd. The
application object is initialized with a certain gid and uid. Logging is
configured to rotate daily by way of DailyLogFile. However, the log file
it creates is owned by root with 600 file permission and log rotation is
failing. I have read about acl to configure default file permissions but
is there a way to solve this only in Twisted?


More information about the Twisted-Python mailing list