there is an error when using logrotate configs that are not owned by root
error: Ignoring skynet-webportal-nginx because the file owner is wrong (should be root or user with uid 0).
error: Ignoring skynet-webportal-skyd because the file owner is wrong (should be root or user with uid 0).
replace -a (preserve permissions and ownership) with -r (recursive copy, copied files is owned by user that copies it, here it is root)
there is an error when using logrotate configs that are not owned by root
replace -a (preserve permissions and ownership) with -r (recursive copy, copied files is owned by user that copies it, here it is root)