Feature Request: Add --no-spawn-shell flag for restricted environments
Feature Request: Add --no-spawn-shell flag for restricted environments: a task in LegoFlow-SWE (Harbor dataset). When gdu is used in shared environments (e.g., via a web UI like GoTTY), any user can press b to spawn a shell ( /bin/bash ) in the current directory, or o to open files/directories in…
The task
When `gdu` is used in shared environments (e.g., via a web UI like GoTTY), any user can press `b` to spawn a shell (`/bin/bash`) in the current directory, or `o` to open files/directories in external programs. There is currently no way to disable these capabilities, creating a security risk.
Part of Lego-X/LegoFlow-SWE.