Added in API level 26

PosixFilePermission

class PosixFilePermission
kotlin.Any
   ↳ kotlin.Enum<java.nio.file.attribute.PosixFilePermission>
   ↳ java.nio.file.attribute.PosixFilePermission

Defines the bits for use with the permissions attribute.

The PosixFilePermissions class defines methods for manipulating set of permissions.

Summary

Enum values

Execute/search permission, group.

Read permission, group.

Write permission, group.

Execute/search permission, others.

Read permission, others.

Write permission, others.

Execute/search permission, owner.

Read permission, owner.

Write permission, owner.

Enum values

GROUP_EXECUTE

Added in API level 26
enum val GROUP_EXECUTE : PosixFilePermission

Execute/search permission, group.

GROUP_READ

Added in API level 26
enum val GROUP_READ : PosixFilePermission

Read permission, group.

GROUP_WRITE

Added in API level 26
enum val GROUP_WRITE : PosixFilePermission

Write permission, group.

OTHERS_EXECUTE

Added in API level 26
enum val OTHERS_EXECUTE : PosixFilePermission

Execute/search permission, others.

OTHERS_READ

Added in API level 26
enum val OTHERS_READ : PosixFilePermission

Read permission, others.

OTHERS_WRITE

Added in API level 26
enum val OTHERS_WRITE : PosixFilePermission

Write permission, others.

OWNER_EXECUTE

Added in API level 26
enum val OWNER_EXECUTE : PosixFilePermission

Execute/search permission, owner.

OWNER_READ

Added in API level 26
enum val OWNER_READ : PosixFilePermission

Read permission, owner.

OWNER_WRITE

Added in API level 26
enum val OWNER_WRITE : PosixFilePermission

Write permission, owner.