redmine_git_hosting icon indicating copy to clipboard operation
redmine_git_hosting copied to clipboard

web user can't sudo git user

Open ruigoncalves opened this issue 13 years ago • 1 comments

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_web_user: 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.

ruigoncalves avatar Jul 13 '12 10:07 ruigoncalves

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

The webuser is detected by a call to whoami.

mkroehnert avatar Jul 31 '12 11:07 mkroehnert