Files
OpenShell/crates
Evan Lezar 03486f810d fix(sandbox): split drop_privileges test to unblock non-root CI (#623)
The drop_privileges_succeeds_for_current_user test failed on non-root
systems because initgroups(3) requires CAP_SETGID even when switching
to the current user. Add a new drop_privileges_succeeds_for_current_group
test that omits run_as_user, bypassing initgroups while still exercising
setgid() and the GID post-condition verification. Mark the original
full-path test with #[ignore] so it can be run explicitly as root.

Fixes #622
2026-04-13 14:53:55 +02:00
..