I'm trying to configure the Redmine Git hosting plugin but I'm struggling with some difficulties in setting up the proper permissions to the web and git users. When I access the plugin settings interface, the setting Git user is able to sudo to Web user? is marked as invalid.
The error message which is being logged on the server, is the following one:
Testing if git user("git") can sudo to web user("root")
Error while testing sudo_git_to_web_user:
As far I understand, the user running the web server is root and that doesn't seem well. How can I actually verify the user who is running the web server? I need to change it to www-data, since its expected user by gitolite.