nixpkgs/pkgs
Symphorien Gibol fbb8dbdac6 fuse: fix mount.fuse -o setuid=...
when mounting a fuse fs by fstab on can write:
/nix/store/sdlflj/bin/somefuseexe#argument /mountpoint fuse setuid=someuser

mount is run by root, and setuid is a way to tell mount.fuse to run
somefuseexe as someuser instead. Under the hood, mount.fuse uses su.
The problem is that mount is run by systemd in a seemingly very empty
environment not containing /run/current-system/sw/bin nor
/run/wrappers/bin in $PATH, so mount fails with "su command not found".

We now patch the command to run su with an absolute path.

man mount.fuse3 indicates that this option is reserved to root (or with
enough capabilities) so not using
/run/wrappers/bin/su is thus correct. It has the very small advantage of
possibly working on non nixos.
2021-04-17 21:51:40 +02:00
..
applications Merge pull request #119320 from primeos/chromiumDev 2021-04-13 19:58:30 +02:00
build-support Merge pull request #102725 from thefloweringash/dockertools-proc 2021-04-12 14:14:24 +01:00
common-updater
data recursive: 1.077 -> 1.078 2021-04-12 04:20:00 +00:00
desktops gnomeExtensions.system-monitor: 2020-04-27-unstable -> unstable-2021-04-08 2021-04-13 17:09:38 +02:00
development vimPlugins.coc-explorer: convert to nodePackages (#119336) 2021-04-13 19:25:54 +02:00
games Merge pull request #109146 from iblech/patch-sdlpop 2021-04-13 08:15:27 -03:00
misc vimPlugins.coc-explorer: convert to nodePackages (#119336) 2021-04-13 19:25:54 +02:00
os-specific fuse: fix mount.fuse -o setuid=... 2021-04-17 21:51:40 +02:00
pkgs-lib
servers Merge pull request #119298 from fabaff/bump-yeelight 2021-04-13 14:34:51 +02:00
shells oh-my-zsh: 2021-04-07 → 2021-04-11 2021-04-12 18:03:50 +00:00
stdenv stdenv/make-derivation: add -static to name if building statically 2021-04-13 12:33:00 +02:00
test
tools fcitx5-m17n: init at 5.0.4 (#119357) 2021-04-13 21:44:15 +02:00
top-level fcitx5-m17n: init at 5.0.4 (#119357) 2021-04-13 21:44:15 +02:00