- Timestamp:
- Oct 28, 2008, 2:00:39 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/common/patches/httpd-suexec-scripts.patch
r842 r855 259 259 (gid != dir_info.st_gid) || 260 260 (uid != prg_info.st_uid) || 261 @@ -574,1 2 +676,14@@261 @@ -574,14 +676,15 @@ 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 USR)) {273 + !(prg_info.st_mode & S_IXGRP)) { 274 274 log_err("file has no execute permission: (%s/%s)\n", cwd, cmd); 275 exit(121); 276 } 275 - exit(121); 276 } 277 278 #ifdef AP_SUEXEC_UMASK 277 279 @@ -606,6 +709,21 @@ 278 280 exit(122);
Note: See TracChangeset
for help on using the changeset viewer.