Hello all,
New Nix user here.
I am trying to mount a smb directory by opening the url in smapceFM but I have this error:
udevil mount smb://192.168.1.100/cloud
udevil:sudo udevil mount smb://192.168.1.100/cloud
[sudo] password for yottanami:
udevil: denied 73: fstype 'cifs' is not an allowed type error 37: udevil was not run suid root
To correct this problem: sudo chmod +s /usr/bin/udevi
If you aren’t on nixos, this is a sharp corner AFAIK. I guess you’d need to create your own setuid wrapper–they aren’t allowed in the store.
(Limited interface to system/nix-external dependencies? is about one aspect of this problem–being able to get references to the correct run-time path from inside a nix build. It doesn’t, however, currently address how we’d actually manage a setuid executable outside of nixos.)