private static void SetUnixFileModeCore(SafeFileHandle fileHandle, UnixFileMode mode) => FileSystem.SetUnixFileMode(fileHandle, mode);
private static void SetUnixFileModeCore(string path, UnixFileMode mode) => FileSystem.SetUnixFileMode(Path.GetFullPath(path), mode);