Skip to main content

chgrp_file

Function chgrp_file 

Source
pub fn chgrp_file(path: &Path, gid: u32, config: &ChgrpConfig) -> Result<bool>
Expand description

Change the group of a single file.

This is a thin wrapper around chown_file with uid = None. Returns Ok(true) if the group was actually changed.