Hey,
it seems like HOME doesn't get set properly. See the following example (I tried it in a debian/wheezy docker container)
useradd -d /var/lib/couchdb couchdb
the user is set up correctly it seems:
$ su couchdb -c env
[...]
USER=couchdb
HOME=/var/lib/couchdb
[...]
but gosu doesn't set HOME correctly
$ gosu couchdb env
[...]
USER=couchdb
HOME=/root
[...]
Am I missing something?
Thanks!
Hey,
it seems like HOME doesn't get set properly. See the following example (I tried it in a
debian/wheezydocker container)the user is set up correctly it seems:
but gosu doesn't set HOME correctly
Am I missing something?
Thanks!