ericpaulbishop / redmine_git_hosting

A ChiliProject/Redmine plugin which makes configuring your own git hosting easy.
186 stars 37 forks source link

web user can't sudo git user #164

Open ruigoncalves opened 12 years ago

ruigoncalves commented 12 years ago

I'm trying to set up the redmine git hosting plugin but I'm struggling with some difficulties, mainly related with the different users.

When I access the plugin settings page, the required permission Git user is able to sudo to Web user? is marked as invalid. The error message which is being logged is the following one: _Error while testing sudo_git_to_webuser: Testing if web user("root") can sudo to git user("git")

If I'm not misinterpreting, it seems that the plugin is assuming that the web user is root but I can't understand why.

mkroehnert commented 12 years ago

You have to check which user is running your Rails application.

The webuser is detected by a call to whoami.