Run with root privileges does not work for Rust project under macOS

My program has to run as root, however when I select “Run with root privileges” in the Run Configuration it does not elevate my privs before starting the program.

I have set “Process Elevation” to “Keep ‘sudo’ authorization for 15 mins”, which doesn't fix the issue.

Is debugging a Rust program with root privileges supported under macOS?

0
1 comment

Nevermind, it does works, but only when debugging.

0

Please sign in to leave a comment.