Using the following logrotate config file, rotated files are being chowned to the specified user but not compressed ones.
/var/log/file.log {
notifempty
missingok
size 1M
rotate 30
delaycompres
create 0600 user group
compress
}
Is this an expected behaviour from logrotate and if yes how can I tweak it to compress the logs with the correct permissions and user:group ?