발생한 문제
- logrotate 명령어 수행시
error: Ignoring {config 파일 경로} because the file owner is wrong (should be root or user with uid 0).
가 발생함 - 이전 서버 환경에서는 이런 문제가 없었는데 신규 서버에서 발생함
원인
- logrotate 3.8.0 부터 root 권한으로 logrotate 실행 시, config 파일의 파일 소유자가 root 인지 검증한다.
- 이전 서버에서는 3.8.0 보다 낮은 버전이어서 문제가 되지 않았다.