os.Path.chOwn

Changes the UNIX™ owner and group of a file.

Syntax

os.Path.chOwn(
   path STRING,
   uid INTEGER,
   gui INTEGER )
  RETURNS INTEGER
  1. path 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.