Mono Class Library: Mono.Unix.Native.Syscall Overview | Members

Mono.Unix.Native.Syscall.lchown Method

Change the ownership for 'path'.

public static int lchown (string path, uint owner, uint group)

Parameters

path
Documentation for this section has not yet been entered.
owner
Documentation for this section has not yet been entered.
group
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

The owner of the file specified by path is changed. Only the super-user may change the owner of a file. The owner of a file may change the group of the file to any group of which that owner is a member. The super-user may change the group arbitrarily. See chown(2) for more information and error codes.

Requirements

Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0