Otter SDK Reference
Version:

SetFileModeAsync(string path, int posixFileMode) Method

Writes the specified POSIX file mode to the file or directory.

Syntax

public abstract System.Threading.Tasks.Task SetFileModeAsync(string path, int posixFileMode)

Parameters

path
Type: string

Full path of the file or directory.

posixFileMode
Type: int

The octal file mode to write.