pub fn set_secret_file_mode_checked(
path: &Path,
) -> SshCliResult<SecretProtection>Expand description
Sets secret-file mode (0o600) and reports whether it was applied.
Prefer this over set_secret_file_mode when the caller can report or act
on an unprotected file.
ยงErrors
Metadata read or permission change failure on a supported platform.