Function ethcore_util::path::restrict_permissions_owner [] [src]

pub fn restrict_permissions_owner(file_path: &Path,
                                  write: bool,
                                  executable: bool)
                                  -> Result<(), String>

Restricts the permissions of given path only to the owner.