Mono Class Library: Mono.Posix.Syscall Overview | Members

Mono.Posix.Syscall.lchown Method

Change the ownership for 'path' [Edit]

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

See Also

Mono.Unix.Native.Syscall.lchown

Parameters

path
a string [Edit]
owner
a int Owner UID [Edit]
group
a int Owner GID [Edit]

Returns

a int [Edit]

Remarks

This member is obsolete. Please use Mono.Unix.Native.Syscall.lchown instead.

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 'man chown(2)' for more information and error codes.

[Edit]

Requirements

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