Set owner information for a file or directory
Source position: amigados.pas line 1717
function SetOwner( |
const name: pCHAR; |
owner_info: LongInt |
):LongBool; |
const name: string; |
owner_info: LongInt |
):Boolean; |
name |
|
Name of file |
owner_info |
|
Owner uid (31:16) and group id (15:0) |
name |
|
Name of file |
owner_info |
|
Owner uid (31:16) and group id (15:0) |
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.
|
Examine a directory or file associated with a lock |
|
|
Examine the next entry in a directory |
|
|
Examine an entire directory |