MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / update_group_file

Function update_group_file

crates/openshell-supervisor-process/src/process.rs:1022–1024  ·  view source on GitHub ↗
(gid: &str)

Source from the content-addressed store, hash-verified

1020/// or append a new entry if none exists.
1021#[cfg(unix)]
1022fn update_group_file(gid: &str) -> Result<()> {
1023 rewrite_group_at(Path::new("/etc/group"), gid)
1024}
1025
1026#[cfg(unix)]
1027fn rewrite_passwd_at(path: &Path, uid: &str, gid: &str) -> Result<()> {

Callers 1

Calls 1

rewrite_group_atFunction · 0.85

Tested by

no test coverage detected