unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: neil@dist.ro
To: mongrel-unicorn@rubyforge.org
Subject: Home directory for workers
Date: Tue, 11 Oct 2011 11:25:46 +1300	[thread overview]
Message-ID: <20111010222545.GA30758@dist.ro> (raw)


When unicorn is started as the root user and the worker processes run as as an
unprivileged user because of the "user" option in unicorn.conf then the home
directory of the worker processes is still "/root".  This causes trouble with
GPGME at least, which expects to find encryption keys in the user's home
directory.

Apologies in advance if this has been fixed since 4.1.1.

- neil

_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

             reply	other threads:[~2011-10-11  7:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10 22:25 neil [this message]
2011-10-11  8:16 ` Home directory for workers Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111010222545.GA30758@dist.ro \
    --to=neil@dist.ro \
    --cc=mongrel-unicorn@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).