0.6.1.20060928-1 release
[manu/suphp.git] / src / API_Linux.cpp
index 2b3ea45..97c1e90 100644 (file)
@@ -336,7 +336,7 @@ bool suPHP::API_Linux::File_hasPermissionBit(const File& file, FileMode perm)
        break;
 
     case FILEMODE_GROUP_EXEC:
-       if ((temp.st_mode & S_IWGRP) == S_IWGRP)
+       if ((temp.st_mode & S_IXGRP) == S_IXGRP)
            return true;
        break;