This executable can write data to local files.
This function can be performed by any unprivileged user.
echo '//! DATA' >/path/to/temp-file
rustdoc /path/to/temp-file -o /path/to/output-dir/
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
echo '//! DATA' >/path/to/temp-file
rustdoc /path/to/temp-file -o /path/to/output-dir/
This executable can read data from local files.
This function can be performed by any unprivileged user.
rustdoc /path/to/input-file
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
rustdoc /path/to/input-file