loglotateコマンドを使ってログの切り替えを行うとき、以下のようにパーミッションのエラーが出る場合があります。
error: skipping "/var/log/foobar.log" because parent directory has insecure permissions
(It's world writable or writable by group which is not "root")
Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
この場合、logrotateの設定ファイルに"su USER GROUP"の定義を追加すると、このユーザ・グループでファイルを作ってくれます。
/var/log/foobar.log {
...
su apache apache
}
こちらもおススメ