pub(super) fn set_executable_permissions(file: &File) -> Result<()>
Sets the file mode to 0o755 (owner rwx, group/other rx).
0o755