Different permissions per log file when using rsyslog

Solution 1:

According to the official documentation on Configuration,

FileCreateMode may be specified multiple times. If so, it specifies the creation mode for all selector lines that follow until the next $FileCreateMode directive. Order of lines is vitally important.