Skip to main content

restrict

Function restrict 

Source
fn restrict(file: &File) -> Result<()>
Expand description

0600 exactly where the platform has a notion of it: the umask can take bits from the mode open_new asked for, the owner’s own among them. Set on the descriptor, so what changes is the file this writer created and not whatever is under its name by now.