os.Path.chOwn

Changes the UNIX™ owner and group of a file.

Syntax

os.Path.chOwn(
   fname STRING,
   uid INTEGER,
   gui INTEGER )
  RETURNING result INTEGER
  1. fname is the name of the file.
  2. uid is the user id.
  3. gui is the group id.

Usage

This method can only be used on UNIX!

Function returns TRUE on success, FALSE otherwise.