Thanks Marcin.. Did I learn something today? If not, I wasted it.
On Tue, Nov 5, 2013 at 6:21 AM, Marcin Kulik <[email protected]> wrote: > On Tuesday, October 15, 2013 5:30:31 PM UTC+2, Dhanasekaran Anbalagan > wrote: > > Hi Guys, > > > > I want to take snapshot with normal system user. > > > > I got error in taking snapshot with normal system user. please guide me > How to fix this. > > > > /var/www/gitorious/app/bin/setup.rb:50:in `require_valid_user!': You > need to be root to do this! (RuntimeError) > > from /var/www/gitorious/app/bin/setup.rb:14:in > `run_with_gitorious_environment' > > from ./bin/snapshot:28 > > The best way to run the command from gitoriou's bin directory is to switch > first to the user that is set in config/gitorious.yml file (line at the top > like "user: git"). This way the setup.rb script won't need to run sudo/su > and you won't need any root privileges to run the commands. > > -- > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > > --- > You received this message because you are subscribed to a topic in the > Google Groups "Gitorious" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/gitorious/oJV2lY5L_ys/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] --- You received this message because you are subscribed to the Google Groups "Gitorious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
