Bug 17501

Summary: mga6: postfix-script generating numerous "warning: group or other writable:" messages
Product: Mageia Reporter: Bit Twister <bittwister2>
Component: RPM PackagesAssignee: Daniel Lucio <luis.daniel.lucio>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: postfix-3.0.3-2.mga6.src.rpm CVE:
Status comment:

Description Bit Twister 2016-01-15 10:16:53 CET
Description of problem:

postfix-script generating numerous "warning: group or other writable:" messages

Problem caused by test of soft link permissions instead of link target.

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


How reproducible: Always


Steps to Reproduce:
1. systemctl start postfix
2. systemctl status postfix


Workaround:

Add -L argument to the find perm commands:

# grep -- ' -L ' /usr/libexec/postfix/postfix-script
        find $todo \( -L -perm -020 -o -perm -002 \) \
        find $data_directory/. \( -L -perm -020 -o -perm -002 \) \


Reproducible: 

Steps to Reproduce:
Comment 1 Marja Van Waes 2016-01-15 12:09:11 CET
assigning to maintainer

CC: (none) => marja11
Assignee: bugsquad => luis.daniel.lucio

Comment 2 David Walser 2016-02-12 00:22:49 CET
-L would just have it checking the same files twice.  There's no reason it should be examining the permissions on symlinks.  I used "\! -type l" in the find commands to avoid this.

Status: NEW => RESOLVED
Resolution: (none) => FIXED