Bug 17501 - mga6: postfix-script generating numerous "warning: group or other writable:" messages
Summary: mga6: postfix-script generating numerous "warning: group or other writable:" ...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Daniel Lucio
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-15 10:16 CET by Bit Twister
Modified: 2016-02-12 00:22 CET (History)
1 user (show)

See Also:
Source RPM: postfix-3.0.3-2.mga6.src.rpm
CVE:
Status comment:


Attachments

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


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