summaryrefslogtreecommitdiffstats
path: root/source/n/postfix/postfix.only.warn.regular.files.diff
blob: 2b6b788c9559cb09bd54dda2cdf5ca5daf715aca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ./conf/postfix-script.orig	2016-01-31 15:05:46.000000000 -0600
+++ ./conf/postfix-script	2017-11-05 15:09:40.838097647 -0600
@@ -275,7 +275,7 @@
 	find $todo ! -user root \
 	    -exec $WARN not owned by root: {} \;
 
-	find $todo \( -perm -020 -o -perm -002 \) \
+	find $todo -type f \( -perm -020 -o -perm -002 \) \
 	    -exec $WARN group or other writable: {} \;
 
 	# Check Postfix mail_owner-owned directory tree owner/permissions.