SetFilePermissions

Syntax

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

Usage

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

Description

Changes a file or directories permissions.

Return

True on success, false otherwise