Steven Chamberlain a écrit :
Hi,
Quoting logrotate.conf(5):
logrotate 3.8.1 expects:
create mode owner group
logrotate 3.8.5 allows for:
create mode owner group, create owner group
[...]
Any of the log file attributes may be omitted,
in which case those attributes for the new file will use the
same values as the original log file for the omitted attributes.
Were you perhaps trying to use the new syntax with old logrotate?
I use the old logrotate, but in the man of the 3.8.1 release, there's also
written :
Any of the log file attributes may be omitted,
in which case those attributes for the new file will use the
same values as the original log file for the omitted attributes.
so it's expected to work even with the release I use
On Wed, Jul 24, 2013 at 11:45:24AM +0200, root wrote:
log analyzers need 0644 permissions to be able to read the logfiles
Typically you would put analysers in the 'adm' group, which has group
read permissions on most log files. That way you don't have to make
your log files readable to everyone on the system.
Regards,
I have this problem with awstats, which is running under Apache (www-data) permissions, if I put www-data in the adm
group, Apache will be able to read any logfile, which isn't very secure.
--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org