Blame SOURCES/mailman-2.1.15-check_perms.patch

5c2a97
diff --git a/bin/check_perms b/bin/check_perms
5c2a97
index 5ef3306..d50518a 100755
5c2a97
--- a/bin/check_perms
5c2a97
+++ b/bin/check_perms
5c2a97
@@ -70,7 +70,7 @@ class State:
5c2a97
 
5c2a97
 STATE = State()
5c2a97
 
5c2a97
-DIRPERMS = S_ISGID | S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH
5c2a97
+DIRPERMS = S_IRWXU | S_IRGRP | S_IROTH | S_IXOTH
5c2a97
 QFILEPERMS = S_ISGID | S_IRWXU | S_IRWXG
5c2a97
 PYFILEPERMS = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH
5c2a97
 ARTICLEFILEPERMS = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP
5c2a97
@@ -195,7 +195,7 @@ def checkall():
5c2a97
             continue
5c2a97
         if (mode & DIRPERMS) <> DIRPERMS:
5c2a97
             STATE.ERRORS += 1
5c2a97
-            print C_('directory must be at least 02775: %(d)s'),
5c2a97
+            print C_('directory must be at least 0755: %(d)s'),
5c2a97
             if STATE.FIX:
5c2a97
                 print C_('(fixing)')
5c2a97
                 os.chmod(d, mode | DIRPERMS)