This executable can inherit functions from another.
This function can be performed by any unprivileged user.
run-mailcap --action=view text/plain:/etc/hosts
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
run-mailcap --action=view text/plain:/etc/hosts
This function can be performed by any unprivileged user.
run-mailcap --action=edit text/plain:/path/to/output-file
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
run-mailcap --action=edit text/plain:/path/to/output-file