Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#os4units]

SetOwner

Set owner information for a file or directory

Declaration

Source position: amigados.pas line 2608

function SetOwner(

  const Name: PChar;

  OwnerInfo: LongInt

):LongBool;

Arguments

Name

  

Name of file

Description

SetOwner() sets the owner information for the file or directory. This value is a 32-bit value that is normally split into 16 bits of owner user id (bits 31-16), and 16 bits of owner group id (bits 15-0). However, other than returning them as shown by Examine()/ ExNext()/ExAll(), the filesystem take no interest in the values. These are primarily for use by networking software (clients and hosts), in conjunction with the FIBF_OTR_* and FIBF_GRP_* protection bits.

See also

Examine

  

Examine a directory or file associated with a lock

ExNext

  

Examine the next entry in a directory

ExAll

  

Examine an entire directory


Documentation generated on: 2021-07-30