Skip to main content

open_file_0600

Function open_file_0600 

Source
pub fn open_file_0600(path: &Path) -> Result<File>
Expand description

Open an audit log file with 0600 permissions on Unix.

Existing files are tightened if they are too loose. Already stricter files are preserved.