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