Bug 802811 - logrotate.d/roundcubemail missing su
Summary: logrotate.d/roundcubemail missing su
Keywords:
Status: CLOSED DUPLICATE of bug 753983
Alias: None
Product: Fedora
Classification: Fedora
Component: roundcubemail
Version: 16
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-13 14:39 UTC by Scott Shambarger
Modified: 2012-03-13 14:49 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-03-13 14:49:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.