Bug 802811

Summary: logrotate.d/roundcubemail missing su
Product: [Fedora] Fedora Reporter: Scott Shambarger <scott-fedora>
Component: roundcubemailAssignee: Gwyn Ciesla <gwync>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: christoph.wickert, gwync
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-13 14:49:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Scott Shambarger 2012-03-13 14:39:44 UTC
Description of problem:
logrotate fails on /var/log/roundcubemail/errors with the following error:

error: skipping "/var/log/roundcubemail/errors" 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.

Version-Release number of selected component (if applicable):
roundcubemail-0.5.4-1

How reproducible:
Whenever logrotate runs

Steps to Reproduce:
1. Install logrotate and roundcubemail
2. Generate some content in /var/log/roundcubemail/errors
3. Run logrotate
  
Actual results:
logrotate fails with the above error.

Expected results:
Log is rotated as expected.

Additional info:

Adding the following line to /etc/logrotate.d/roundcubemail resolves the problem:

  su root apache

Comment 1 Gwyn Ciesla 2012-03-13 14:49:08 UTC

*** This bug has been marked as a duplicate of bug 753983 ***