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

SetOwner

Set owner information for a file or directory

Declaration

Source position: amigados.pas line 2365

function SetOwner(

  const Name: PChar;

  Owner_Info: LongWord

):LongBool;

Arguments

Name

  

Name of file

Owner_Info

  

Owner uid (31:16) and group id (15:0)

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