diff options
| author | Rasheeq Azad <rasheeqhere@gmail.com> | 2025-08-14 07:16:49 -0400 |
|---|---|---|
| committer | Rasheeq Azad <rasheeqhere@gmail.com> | 2025-08-14 07:31:31 -0400 |
| commit | 38d569438c49d2c15a2c7e9665986094d85c5b94 (patch) | |
| tree | be0675978680cb16fcf2e2df4bdea802930b6238 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 713db440171375aef4a79af8e63c9d0e283d61f2 (diff) | |
ntfs3g: use external FUSE
On Linux, by default, the ntfs-3g binaries attempt to perform mount() by
themselves (through the included libfuse-lite library). Thus, for an
unprivileged user to use ntfs-3g, the binaries must be setuid root. But
Nix clears the setuid bit on everything in the store, so ntfs-3g is
unusable except by root on Linux.
In order to let unprivileged users use ntfs-3g, configure the build to
use the "external" FUSE implementation pkgs.fuse, which arranges for its
own binaries to be setuid root.
An unprivileged user can now nix run nixpkgs#ntfs3g and it should mostly
"just work".
buildInputs is simplified because pkgs.fuse is already a conditional
that picks between macfuse-stubs (on Darwin) and fuse_2 (on Linux).
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
