That last part should have been
> slicehost merbapp # groups usr1
> group2 usr1

On Sat, Oct 11, 2008 at 4:11 PM, Nicholas Orr <[EMAIL PROTECTED]>wrote:

> Hi,
>
> I run as root and merb is able to use the correct user/group
> when I use su to run as the user/group i get
>
> merb : worker (port) ~ FATAL: Couldn't change user and group to
> usr1:group2
>
>
> So lets knock this out exactly
>
> this works (loggedin as root):
> > slicehost merbapp # merb -m /home/usr1/merbapp -u usr1 -G group2 -a
> mongrel -e production -c 1 -p 10001 -l info
>
> this doesn't work (loggedin as root):
> > slicehost merbapp # su usr1 -c "merb -m /home/usr1/merbapp -u usr1 -G
> group2 -a mongrel -e production -c 1 -p 10001 -l info"
> and results in
> > merb : worker (port) ~ FATAL: Couldn't change user and group to
> usr1:group2
>
> What does usr1 need so the command works?
>
> > slicehost merbapp # groups usr1
> > group2 usr1
>
> Thanks :)
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to