Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
nixos/pmount: add pmount programs module #51406
Motivation for this change
Add pmount module with setuid wrapper.
Shouldn't users set security.wrappers themselves? It's not clearly documented what is going on behind the scenes here. This looks like it will let anyone use pmount as root. See #50480 for why we should try to avoid this.
Anyway, why can't we just use udiskctl? It should do the same thing without the SUID bit.
Closing this issue because the module assumes to much of what the user wants, isn't documented enough. If anyone wants to contribute an modified version of this module, feel free to do so, but I am going to use
Thank you both for your input though!