pub fn create_private_file(file: &Path) -> Result<()>Expand description
Create file empty and 0600, or take group and other’s access away from
one that is already there.
An existing file keeps every byte. The database goes through here on every start, and a truncate would be the user’s history gone.
§Errors
Whatever creating the file returns, other than that it already exists. A tightening that fails is logged (see the module docs).