rustdoc
File write
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 viasudobecause the acquired privileges are not dropped.echo '//! DATA' >/path/to/temp-file rustdoc /path/to/temp-file -o /path/to/output-dir/
File read
This executable can read data from local files.
- This function can be performed by any unprivileged user.
rustdoc /path/to/input-fileThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.rustdoc /path/to/input-file