Changeset 873 for server/common/patches/httpd-suexec-scripts.patch
- Timestamp:
- Nov 8, 2008, 12:20:41 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/common/patches/httpd-suexec-scripts.patch
r855 r873 259 259 (gid != dir_info.st_gid) || 260 260 (uid != prg_info.st_uid) || 261 @@ -574,1 4 +676,15@@261 @@ -574,12 +676,14 @@ 262 262 prg_info.st_uid, prg_info.st_gid); 263 263 exit(120); … … 271 271 - if (!(prg_info.st_mode & S_IXUSR)) { 272 272 + if (!is_static_extension(cmd) && !is_php_extension(cmd) && 273 + !(prg_info.st_mode & S_IX GRP)) {273 + !(prg_info.st_mode & S_IXUSR)) { 274 274 log_err("file has no execute permission: (%s/%s)\n", cwd, cmd); 275 - exit(121); 276 } 277 278 #ifdef AP_SUEXEC_UMASK 275 exit(121); 276 } 279 277 @@ -606,6 +709,21 @@ 280 278 exit(122);
Note: See TracChangeset
for help on using the changeset viewer.