github/hubot — Issue #244: HTTP GET to /hubot/info returns wrong username
Author: ilkka
Created: 2012-02-14 08:08:18+00:00
State: open

I'm running Hubot 2.1.3 and starting it with `start-stop-daemon` from Ubuntu. The command line is

```
start-stop-daemon --start --quiet --chdir "$HUBOT_DIR" \
--chuid $HUBOT_USER --background --make-pidfile \
--pidfile $HUBOT_PIDFILE --oknodo \
--exec "$HUBOT_DIR/bin/hubot"
```

A `ps` listing shows the node process running as user `$HUBOT_USER`, but issuing a HTTP GET to `/hubot/info`, which is handled by the default `httpd.coffee` script, prints

```
I'm root@host:/path/to/hubot (abbadeadbeefacdc) running node v0.7.3 [pid: 12345]
```