redmine_git_hosting
redmine_git_hosting copied to clipboard
web user can't sudo git user
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.
You have to check which user is running your Rails application.
The webuser is detected by a call to whoami.