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