Language

Os.Chmod(String, Int32) Method

Definition

See chmod(2).

[Android.Runtime.Register("chmod", "(Ljava/lang/String;I)V", "")]
public static void Chmod(string? path, int mode);
[<Android.Runtime.Register("chmod", "(Ljava/lang/String;I)V", "")>]
static member Chmod : string * int -> unit

Parameters

path
String

The path of the file whose permissions are changed.

mode
Int32

The file-permission and special mode bits to apply.

Attributes

Exceptions

Remarks

See chmod(2).

Java documentation for android.system.Os.chmod(java.lang.String, 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