Commit 10c35088 authored by anarcat's avatar anarcat Committed by anarcat
Browse files

use the effective uid instead of the owner of the provision files as the default script user

parent 76838a9d
......@@ -35,7 +35,7 @@ function http_drush_init($url = null) {
// System account
drush_set_default('web_group', _provision_default_web_group());
drush_set_default('script_user', get_current_user());
drush_set_default('script_user', posix_getpwuid(posix_geteuid());
// Redirection urls
drush_set_default('master_url', $GLOBALS['base_url']);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment