Open
Description
Due to permission issues, I need to run a few of my scripts as www-data
(e.g. via sudo -E -u www-data php artisan ...
).
This currently triggers an error message, because the php
proxy tries to run sudo chown docker:docker /opt/php_env_var_cache.php
, which www-data
does not have permission to do.
For now, I am suppressing that error by directly calling real_php
instead, but it would be nice of the PHP proxy could simply skip its extra setup steps if it is called as the wrong user (or if the current user simply doesn't have sudo
privileges).