You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/10/24 19:15:12 UTC

DO NOT REPLY [Bug 46083] New: ENV Not Transitioned

https://issues.apache.org/bugzilla/show_bug.cgi?id=46083

           Summary: ENV Not Transitioned
           Product: Apache httpd-2
           Version: 2.2.3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_env
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: jonathansteffan@gmail.com


Due to apache needing to bind to port 80, the original context of httpd is
"root". However, after the transition to the configured user (i.e. "httpd") the
$HOME variable is not reset to the target user.

This has a negative effect on software that expects $HOME to source data. A
current example is the use of pysvn. When mod_python attempts to use pysvn for
a https target, the certificate needs to be accepted and noted in
$HOME/.subversion/auth ... if this is not available, svn actions fail.

A current workaround is to set the following:

SetEnv HOME /expected/path/to/home


-- 
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


DO NOT REPLY [Bug 46083] ENV Not Transitioned

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46083


Nick Kew <ni...@webthing.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #1 from Nick Kew <ni...@webthing.com>  2008-10-24 17:28:17 PST ---
Notabug.  The apache user shouldn't normally have a home directory.  If an
application such as pysvn expects one, that's for the sysop to deal with, as
you have.


-- 
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


DO NOT REPLY [Bug 46083] ENV Not Transitioned

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46083

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WONTFIX

-- 
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


DO NOT REPLY [Bug 46083] ENV Not Transitioned

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46083


Jonathan Steffan <jo...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |




--- Comment #2 from Jonathan Steffan <jo...@gmail.com>  2008-10-24 20:24:17 PST ---
http://code.google.com/p/reviewboard/source/browse/trunk/reviewboard/scmtools/svn.py#109

os.path.expanduser('~') evaluated to /root


-- 
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