diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2002-02-05 17:25:08 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2002-02-05 17:25:08 +0000 |
commit | 51054622e671027717f51d3cf4bde48b0f487f08 (patch) | |
tree | dd1b0179c71230c5e6d2cd4eb2e657d307fefeb7 /www/mod_frontpage/files/patch-mod_frontpage.c | |
parent | Update to 0.9.8. (diff) |
Only let the apache user execute the fpexe stub. Remove a bogus
check in mod_frontpage.c
Requested by: nectar
Diffstat (limited to 'www/mod_frontpage/files/patch-mod_frontpage.c')
-rw-r--r-- | www/mod_frontpage/files/patch-mod_frontpage.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/mod_frontpage/files/patch-mod_frontpage.c b/www/mod_frontpage/files/patch-mod_frontpage.c new file mode 100644 index 000000000000..8e984a6b80c7 --- /dev/null +++ b/www/mod_frontpage/files/patch-mod_frontpage.c @@ -0,0 +1,13 @@ +--- mod_frontpage.c Tue Feb 5 13:56:31 2002 ++++ mod_frontpage.c Tue Feb 5 18:01:27 2002 +@@ -491,10 +491,6 @@ + return log_scripterror (r, c, FORBIDDEN, APLOG_ERR|APLOG_NOERRNO, + "fpEXEC stub writable by group or others"); + } +- if (!(r->finfo.st_mode & S_IXOTH)) { +- return log_scripterror (r, c, FORBIDDEN, APLOG_ERR|APLOG_NOERRNO, +- "fpEXEC stub not executable by others"); +- } + if (((r->finfo.st_mode & S_ISGID)) + && (r->finfo.st_gid != 0)) { + return log_scripterror (r, c, FORBIDDEN, APLOG_ERR|APLOG_NOERRNO, |