Blame SOURCES/mailman-2.1.15-check_perms.patch

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