Skip to main content

publish_read_only

Function publish_read_only 

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

Makes the file at path readable by all and writable by this user alone (0644), as a file private_to_user accepts must be whatever the umask.