Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mtr is missing option to set setuidbit #916

Closed
basn opened this issue Mar 26, 2024 · 2 comments
Closed

mtr is missing option to set setuidbit #916

basn opened this issue Mar 26, 2024 · 2 comments

Comments

@basn
Copy link

basn commented Mar 26, 2024

As in normal NixOS
mtr needs to be called with sudo
To avoid the need to escalate privileges when calling mtr create a setcap wrapper by setting

https://nixos.wiki/wiki/Mtr

It can be fixed by:
sudo chmod 4755 /run/current-system/sw/bin/mtr-packet
https://blog.dave-bell.co.uk/2020/01/06/using-mtr-on-os-x-without-sudo/

is it possible to add programs.mtr.enable = true;?

@Samasaur1
Copy link
Contributor

There's an open issue (#618) for this already. I have an open PR (#890) that needs to be reviewed, but should solve the issue.

@basn
Copy link
Author

basn commented Mar 26, 2024

As there is an open issue i did not find i will close this :)

@basn basn closed this as completed Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants