X-Git-Url: http://git.home-dn.net/?p=manu%2Fsuphp.git;a=blobdiff_plain;f=src%2FAPI_Linux.cpp;h=97c1e902902b49acdd16e209ae344ecdc4d0d0dc;hp=2b3ea4566bc8a1d2f7c757ff5b4647983a198cae;hb=59c5bff8d9aef402c868519d13398ba4eb2dddb7;hpb=47bcf8ba77fa8011f9be728c23dbe6915d70251b diff --git a/src/API_Linux.cpp b/src/API_Linux.cpp index 2b3ea45..97c1e90 100644 --- a/src/API_Linux.cpp +++ b/src/API_Linux.cpp @@ -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;