Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 56277 invoked from network); 14 Jun 2010 21:23:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Jun 2010 21:23:30 -0000 Received: (qmail 20997 invoked by uid 500); 14 Jun 2010 21:23:29 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 20958 invoked by uid 500); 14 Jun 2010 21:23:29 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 20948 invoked by uid 99); 14 Jun 2010 21:23:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jun 2010 21:23:29 +0000 X-ASF-Spam-Status: No, hits=-1500.0 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jun 2010 21:23:28 +0000 Received: from thor.apache.org (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5ELN8XQ001120 for ; Mon, 14 Jun 2010 21:23:08 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o5ELN7v2001119; Mon, 14 Jun 2010 17:23:07 -0400 (EDT) Date: Mon, 14 Jun 2010 17:23:07 -0400 (EDT) Message-Id: <201006142123.o5ELN7v2001119@thor.apache.org> From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 49439] Bug in mod_userdir which prevents suexec from running X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: mod_userdir X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: baryluk@smp.if.uj.edu.pl X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=49439 --- Comment #1 from Witold Baryluk 2010-06-14 17:23:05 EDT --- Here is a patch for better reference with comments: --- ./modules/mappers/mod_userdir.c 2006-07-12 05:38:44.000000000 +0200 +++ ../mod_userdir.c 2009-05-10 17:38:36.048667150 +0200 @@ -186,9 +186,11 @@ const userdir_config *s_cfg; char *name = r->uri; const char *userdirs; + request_rec *notes_req; const char *w, *dname; char *redirect; apr_finfo_t statbuf; + /* * If the URI doesn't match our basic pattern, we've nothing to do with @@ -312,8 +314,17 @@ if (*userdirs && dname[0] == 0) r->finfo = statbuf; + /* We could be servicing a sub-request; make sure we put notes + * on the main request. + */ + if (r->main) { + notes_req = r->main; + } else { + notes_req = r; + } + /* For use in the get_suexec_identity phase */ - apr_table_setn(r->notes, "mod_userdir_user", w); + apr_table_setn(notes_req->notes, "mod_userdir_user", w); return OK; } -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org