]> granicus.if.org Git - apache/commit
Fix suexec invocations from userdir - the ~ was not being prepended to the
authorJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 25 Apr 2002 07:18:40 +0000 (07:18 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 25 Apr 2002 07:18:40 +0000 (07:18 +0000)
commit1705a1540030dd4199d116b53904b4aa4315f828
tree977029b6a0206b46f8796d2b1c091fb15383b4b4
parent2b0a6ccb640e856e75217fe4d458c78d9f07bddb
Fix suexec invocations from userdir - the ~ was not being prepended to the
uid per our convention.  Therefore, bad things would happen (like we
wouldn't cd to the right directory).

Add a flag to the ap_unix_identity_t structure to indicate if we are in
a userdir - if so, prefix the ~.

(Modified by Justin, but Colm's patch pointed me in the right direction.)

PR: 7810
Submitted by: Colm <colmmacc@redbrick.dcu.ie>
Reviewed by: Justin Erenkrantz

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94791 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/generators/mod_suexec.c
modules/mappers/mod_userdir.c
os/unix/unixd.c
os/unix/unixd.h