diff options
| author | Mynacol <Mynacol@users.noreply.github.com> | 2024-06-22 15:56:27 +0200 |
|---|---|---|
| committer | Mynacol <Mynacol@users.noreply.github.com> | 2024-07-02 11:29:35 +0200 |
| commit | af072cfb5514daf30ff0a98e0224991e712540d1 (patch) | |
| tree | 6e4e7ebe7161da2518377e56c70bc94f1bc4b24b /pkgs/development/python-modules/rangehttpserver | |
| parent | cfdae65b07b95ddd0bddd3af65e171fffd2f85e2 (diff) | |
nixos/nextcloud: Remove --preserve-env in sudo
This helps supporting sudo-rs, which currently does not implement the
--preserve-env flag and probably won't so in the foreseeable future [1].
The replacement just sets both environment variables behind the sudo
invocation with env, as sudo-rs also doesn't implement env var lists.
The OC_PASS variable is dropped, as it is seemingly unused and would
leak through this approach through /proc.
[1] https://github.com/memorysafety/sudo-rs/issues/129
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
