Language

Os.Lchown(String, Int32, Int32) Method

Definition

See lchown(2).

[Android.Runtime.Register("lchown", "(Ljava/lang/String;II)V", "")]
public static void Lchown(string? path, int uid, int gid);
[<Android.Runtime.Register("lchown", "(Ljava/lang/String;II)V", "")>]
static member Lchown : string * int * int -> unit

Parameters

path
String

The path whose owner and group are changed, without following a final symbolic link.

uid
Int32

The new owner user ID, or -1 to keep the current owner.

gid
Int32

The new group ID, or -1 to keep the current group.

Attributes

Exceptions

Remarks

See lchown(2).

Java documentation for android.system.Os.lchown(java.lang.String, int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to