Unicorn error

Eric Wong normalperson at yhbt.net
Thu Apr 7 18:58:44 EDT 2011


Ernesto Rocha <ernestorrocha at gmail.com> wrote:
> /usr/local/rvm/gems/ruby-1.8.7-p302 at project/gems/unicorn-
> 3.5.0/lib/unicorn/util.rb:19:in `chown': Operation not permitted - 
> /home/user/project/shared/log/unicorn.stderr.log (Errno::EPERM)
> .... and on....

It looks like you're trying to use the "user" directive to switch users
when you're not running as root[1].  Don't use "user" if you're already
a regular user.



[1] or use something like Linux capabilities(7) and lack the appropriate ones.
    http://linux.die.net/man/7/capabilities

-- 
Eric Wong


More information about the mongrel-unicorn mailing list