fix: root actions in tui/gui & userControl
This commit is contained in:
32 files changed
+665
-317
No files matched your search
@@ -188,15 +188,15 @@ in
|
||||
true
|
||||
)
|
||||
|
||||
# Runtime spool dirs are group-writable and setgid, so proxy-ctl needs no sudo.
|
||||
# Runtime spool dirs are root-only unless userControl grants outbounds (see user-control.nix).
|
||||
(
|
||||
assert
|
||||
builtins.any (
|
||||
rule: builtins.match "d /var/lib/proxy-suite/outbounds\\.d 2770 root .*" rule != null
|
||||
rule: builtins.match "d /var/lib/proxy-suite/outbounds\\.d 0700 root root -" rule != null
|
||||
) minimal.config.systemd.tmpfiles.rules;
|
||||
assert
|
||||
builtins.any (
|
||||
rule: builtins.match "d /var/lib/proxy-suite/subscriptions\\.d 2770 root .*" rule != null
|
||||
rule: builtins.match "d /var/lib/proxy-suite/subscriptions\\.d 0700 root root -" rule != null
|
||||
) minimal.config.systemd.tmpfiles.rules;
|
||||
true
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user