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