Hi,
I have this line in newsyslog.conf :
each file has different owner:group
But, all rotation change the owner:group of the file to root:wheel
I can't set "owner:group" in newsyslog.conf because every files will have the same owner:group.
I can't write each files in newsyslog.conf, because there are too many
So, How can I keep the owner:group of files after rotation ?
thanks you
I have this line in newsyslog.conf :
Code:
/var/log/httpd-clients/*/*-error-php.log 600 3 * @T00 BJG
each file has different owner:group
But, all rotation change the owner:group of the file to root:wheel
I can't set "owner:group" in newsyslog.conf because every files will have the same owner:group.
I can't write each files in newsyslog.conf, because there are too many
So, How can I keep the owner:group of files after rotation ?
thanks you