Os.Lchown(String, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.