Linux has sudo: super user do.
Now you have udo: user do.
A pragmatic sudo -u wrapper that automatically executes commands as the owner of the current working directory, or a specified user (-u). It eliminates the tedious cycle of checking folder permissions just to figure out which service account (e.g., www-data, postgres) you need to run your command under.