native

SetFilePermissions

Syntax

native bool:SetFilePermissions(const path[], mode);

Description

Changes a file or directories permissions.

Parameters

path Path to the file
mode Permissions to set, see FPERM_* constants

Return

True on success, false otherwise